Developer forum

Forum » Templates » Item creator with item list

Item creator with item list

Rune Skovbo
Reply

Hi there

We need to build a returns form for our customer, and I was thinking of using an item creator for it.

Besides normal customer information, we also need to post product details for x amount of products. Therefor I was thinking of using an item list containing productname, quantity, reason for the return and so on. In that way, the customer can just add a new row for each product the want to return.

Is this doable? I couldn't find any information/examples about this.

Also, is it possible to make one field depend on another? As in: "If value of this field = X, show another field". 

 

Hope you can help.

Regards,
Rune 


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Rune

Dynamicweb comes with a RMA module for handling returns - based on Ecommerce orders of course: http://manual.dynamicweb-cms.com/Default.aspx?ID=7510

The item creator cannot create list items like you describe. So you would have to create an item type for the return, and on that have i.e. a big text field that can hold all returns information. The in your template make a logic for adding products and show them in a nice way, and submit them to the text field in a CSV/JSON/XML format or whatever when the forms saves.

You also need a template with some logic if you want it to react on values in fields.

So create an item type, and for the item creator create a dynamic template using JQUery etc. for a good flow.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum