Hello there,
i am trying to accomplish the following with Chronoforms:
[list]
-Users should submit data at the first try
-Users should be able to edit the forms they submitted later on
-Some fields should not be editable after being submitted for the first time, except by the admin
-Only each respective user should be able to edit their own forms
-Other users should be able to view the forms submitted
[/list]
I have to say, that i found the information provided on here rather confusing to be honest, thats why i would love to have some pointers in the right direction.
So far i got a working form, that saves into a databasetable.
Next step for me would be to try and get the saved data back into the fields whenever a user revisits the form.
Im stuck with the right data showing up in the debugger element in an array. Even different data with different ids handed through the url. But i cant seem to get the data into the fields, even though i have tried to follow some other threads handling this but without any success.
Am i maybe using the wrong elements? Is it even possible to preload e.g. the standard "Text Box" element with data from the table? Or am i bound to use a "Custom Code" element?
Thank you in advance.
Maybe i just didnt see it, but if there really isnt any tutorial for this and i get it to work, id be happy to create one to help future newcomers out, if thats desired.
i am trying to accomplish the following with Chronoforms:
[list]
-Users should submit data at the first try
-Users should be able to edit the forms they submitted later on
-Some fields should not be editable after being submitted for the first time, except by the admin
-Only each respective user should be able to edit their own forms
-Other users should be able to view the forms submitted
[/list]
I have to say, that i found the information provided on here rather confusing to be honest, thats why i would love to have some pointers in the right direction.
So far i got a working form, that saves into a databasetable.
Next step for me would be to try and get the saved data back into the fields whenever a user revisits the form.
Im stuck with the right data showing up in the debugger element in an array. Even different data with different ids handed through the url. But i cant seem to get the data into the fields, even though i have tried to follow some other threads handling this but without any success.
Am i maybe using the wrong elements? Is it even possible to preload e.g. the standard "Text Box" element with data from the table? Or am i bound to use a "Custom Code" element?
Thank you in advance.
Maybe i just didnt see it, but if there really isnt any tutorial for this and i get it to work, id be happy to create one to help future newcomers out, if thats desired.