How to create custom page with "wizard"-like form and then submit it as a business form?

Alexey Sidelnikov asked on March 6, 2014 18:51

Hello:

i'm using Kentico 6 portal engine, and I'm newbee. I managed to create custom webparts, i think i understand the logic behind it. But now I have a bit more complex task: I need create form with 4 steps and Submit button at the end. What should I do? should create 1 big complex webpart with all AJAX logic in it? Biggest problem for me is content - how would I let CMS user to change (and localize!) form content if it's a webpart? Please advise what's the best way to achieve this. Keywords or links to articles would be very appreciated.

Thank you, Alexey

Recent Answers


Alexey Sidelnikov answered on March 6, 2014 18:55

forgot to mention - after my custom form is submitted, I would like to create a record in Kentico Form Engine for a specific form. Can I do that programmatically? what APIs should I use?

thanks!

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on March 7, 2014 01:14

Hi,

You can follow this idea in this article. Please note - it is just proof of concept and not all scenarios are covered. You may need to do additional coding. For example, handling of attached files is not ensured in that example.

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

Joshua Adams answered on March 11, 2014 12:37

Alex, couple of things to note: when doing the above approach, you will have to customize upload controls and some other things as well. If you aren't needing to upload files or images then it should work fairly well for the most part. Also make sure to set up your field definition correctly, as the alternate forms will use the "depending field" conditions.

0 votesVote for this answer Mark as a Correct answer

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