dynamic creation of checkbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2016 10:28 AM
Hi,
I want some value to be fetched from a table & display them as check-box in a catalog item.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2016 02:38 AM
I haven't tested this on Geneva but on Eureka. The code is in HTML and it should work fine in Geneva as well . With few changes ,you should be able to achieve the same in Geneva as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2016 02:42 AM
I changed the tablename and script_include but it doesnt work on geneva demo instance.
wats the "iafcategories" here --> input type="checkbox" class="iafCategories"
is any other piece of code missing ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2016 08:58 PM
Hi Kumar,
There is no use of class name when creating checkboxes but after the form is submitted , you need to get all these checkboxes using this class name and that logic should be in you onSubmit Client script. Please let me know the demo instance where you are trying to create these checkboxes . i will try to fix this in there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2016 01:59 PM
Hi Gurpreet,
This is a very cool implementation and I am trying to do something very similar, but this on a custom table (not catalog item). I haven't been able to get your solution to work on my form - possibly because I don't have a 'container' field to anchor the UI Macro to?
I was wondering if you know if this is possible?
Thank you!
- Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2016 10:48 PM