Multiple Catalog Items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2015 03:57 PM
I've created a Catalog Item that allows users to request a product be added to a catalogue. The form has 11 fields on; the Requester and then 10 fields relating to the product. I want users to be able to add multiple products in one go. I see it working like an Order Guide, i.e. the user completes the Requester field and the number of products they wish to add via a multiple choice field [1-10]. When they click Continue, they are presented with X number of identical forms to complete in a tabular view.
Or, if there is a way of having the X number of identical fields appear on a single form, that would also be useful. I've done something similar to this manually before using a UI Policy to show fields when a number is selected, but it was very time consuming to copy the fields and prone to errors when changing the value.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2015 09:43 PM
hi Wayne,
You are going use the same values for all catalogues .. i mean which your going to create .
example if you want to create 5 catalog items , when you enter field1 = 'xyz' , and submits the catalog these should map to all 5 catalogs which you are going to create.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2015 10:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2015 06:42 AM
Hi Harish,
Yes that would be one way of doing it. I've done something similar in the past but had to create all the fields manually. Is your example different? Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2015 07:02 AM
I created all field manually like below.
A1
A2
A3
A4
When user selects 4
i displayed 4 rows in the below way
for(var i=1; g_form.getValue('count')>=i; i++)
{
g_form.setDisplay('A'+1, true);
}