Adding custom form in repeater

merav tg asked on April 24, 2016 10:51

Hello,

I have a page that generate a list of products from the customer's last order using page alias and a repeater. Now I would like for the customer to be able to add a review for each product individually (The screenshot attached is what I would like to achieve). I've created a form and tried adding it in the repeater's transformation using the macro rules {% SiteObjects.Forms.FeedbackProduct %} but it does not display the form in the repeater(only the title).

Am I on the right track here? Is this possible to achieve without custom development?

Thanks,

Image Text

Recent Answers


merav tg answered on April 24, 2016 13:22

I have managed to display the form in the repeater by adding it as a widget

0 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on April 24, 2016 14:14 (last edited on April 24, 2016 14:14)

Not sure what you mean by a widget, but you can use the CMS:BizForm control in your transformation (ASCX) to render an online form for each transformation item.

0 votesVote for this answer Mark as a Correct answer

merav tg answered on April 24, 2016 15:58

Yes. The last thing that I need to do now is to associate the recorded data in each form with the relevant product. I have created a field (that is not displayed in the public form) and I would like its value to be set automatically with the Product name. Is this possible to perform this inside the transformation?

Image Text

Image Text

Image Text

0 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on April 26, 2016 09:12

This is not possible by default, but you can have some hidden field in your form that gets filled with the SKUID value using javascript for example.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.