Can anyone help me with how I would dynamically add a new table row when a web app item is submitted.
I know I can create a table in the list view and have that dynamically repeate new tables down a list results, however in this situation what I want to do is have a single table that has a table header with static data i.e. column headers, then each row that follows would have the list results for the web app items.
| Manufaturer | Product Type | Description | Price |
|---|---|---|---|
| north face | shoe | great shoe | $200 |
| nike | shirt | great shirt | $50 |
| petzel | head lamp | really bright | $135 |
So my thought is the above table would be in a web app list layout, then the first row would contain the appropriate tags in each cell {tag_manuf} {tag_product} {tag_Description} {tag_price}. Then when a web app item is submitted it fills the cells accordingly. Now comes my dilema. How would I get the list layout to creat the next row for the second and third and so on... submitted items without recreating the entire table, rather, just adding the next row to the table.
Hopefully I explained this clearly, I have a feeling it can be done with .js but I am still a novice (learning daily) with javascript, so I am hoping the good people of the BC community may be able to show me a script to make this happen.
Thank you in advance.
Hello amgmarketing,
Here is another thread where we talk about this issue.
http://forums.adobe.com/message/4514816#4514816
It can be hard to get a web app list to output in proper table format. Though it is possible.
Hope this helps,
Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7
North America
Europe, Middle East and Africa
Asia Pacific