Editing form data using Kentico on-line form

Naresh Ede asked on May 22, 2018 17:12

Hi guys

I have a requirement that User has to submit his details.

So i was thinking that we can submit member details using KENTICO FORM.

Suppose the member already submitted the details and accessing the page contains online form, the form should pre populate the submitted details and should be able to update the already submitted record.

Is that possible with kentico forms or do we need to create new functionality with custom table and create new form ?

Yours suggestions really help me, please comment your ideas.

Thanks

Naresh Ede

Correct Answer

Brenden Kehren answered on May 22, 2018 19:00

You can set default values to fields based on macros and SOME previous information. For instance if you have contacts setup and are updating contact data based on form data submitted, you can use a macro like {% ContactManagementContext.CurrentContact.ContactFirstName |(identity)GlobalAdministrator%}. If you want to enter data from a previously submitted form, that would be better served with a custom macro and be pretty taxing on the system.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Naresh Ede answered on May 23, 2018 07:19

Thanks Brenden, Really appreciated.

One more doubt i have, I want to include a file upload to upload the supporting documents.

So i used

Field Type : File

Form Control : Upload File

But it was able to upload one file, suppose i want to upload multiple files then what should i do. Do i need to go for custom development ? Because Attachment uploader not working in this scenario.

Please suggest.

Thanks

Naresh Ede

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 23, 2018 13:35

You'd have to add multiple file upload fields/controls to your page type or create a custom form control.

1 votesVote for this answer Mark as a Correct answer

Naresh Ede answered on May 23, 2018 14:02

Thanks Brenden

0 votesVote for this answer Mark as a Correct answer

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