Sorry if this has been answered before, but I searched the forum and couldn't find it.
I've recently started using Chronoforms and still learning! I'd like to create a form that users can partially complete, save, then come back to another day to finish and submit. Is this possible please?
Thanks,
Mike
I've recently started using Chronoforms and still learning! I'd like to create a form that users can partially complete, save, then come back to another day to finish and submit. Is this possible please?
Thanks,
Mike
Hi Mike,
I do this with two Submit buttons - 'Save' and 'Final Submit' and a'status' column in the database.
If the Save button is pressed the record is saved as it is and the status column left empty; if the Final Submit is clicked the ;status' is set to 'submitted' and further edits are blocked.
You need a way of identifying the record - if it is one record per user you can use their id or email; if there are multiple records per user I use a short Unique ID random string.
You also need a preliminary form (or page) where the user is identified and you check if there are any editable records.
Bob
I do this with two Submit buttons - 'Save' and 'Final Submit' and a'status' column in the database.
If the Save button is pressed the record is saved as it is and the status column left empty; if the Final Submit is clicked the ;status' is set to 'submitted' and further edits are blocked.
You need a way of identifying the record - if it is one record per user you can use their id or email; if there are multiple records per user I use a short Unique ID random string.
You also need a preliminary form (or page) where the user is identified and you check if there are any editable records.
Bob
Thanks Bob.
As a Chronoforms novice it will take me a while to get my head round that, but it's good to know it can be done.
Mike
As a Chronoforms novice it will take me a while to get my head round that, but it's good to know it can be done.
Mike
Could you explain how to build a a "Unique ID random string"?
And how to build a preliminary page where the user is identified and check if there are any editable records?
Thank you
And how to build a preliminary page where the user is identified and check if there are any editable records?
Thank you
Hi Andresvwt,
The preliminary page is simply a form where you identify the user in some way - because they are logged in, or they enter an email. When they submit that form you use a DB Read action to see if there are any stored records that match.
You can use custom code to create an id, or a record id from a database table, or I have an beta version of an action for CFv5 that will generate a short Unique ID.
Bob
The preliminary page is simply a form where you identify the user in some way - because they are logged in, or they enter an email. When they submit that form you use a DB Read action to see if there are any stored records that match.
You can use custom code to create an id, or a record id from a database table, or I have an beta version of an action for CFv5 that will generate a short Unique ID.
Bob
This topic is locked and no more replies can be posted.