Hello, could anybody explain Display section action settings and how they should be set if there is multipage form with the read data action?
What is data provider then? should I use {data:read_data_function.Model} or { session:multipage}?
If I wanted user to go back and forth form pages and have data entered to be kept - should I use KeepAlive function?
What is AJAX submit?
Thanks!
Sorry - this is Chronoforms6 question - cannot change wrong tag.
What is data provider then? should I use {data:read_data_function.Model} or { session:multipage}?

If I wanted user to go back and forth form pages and have data entered to be kept - should I use KeepAlive function?
What is AJAX submit?
Thanks!
Sorry - this is Chronoforms6 question - cannot change wrong tag.
The "data provider" setting reads the array you provide, and if there are any matching fields on the displayed page it fills in their values.
The event setting is the event you'll be submitting the section to
The event setting is the event you'll be submitting the section to
What is Keep Alive?
What is AJAX submit?
What if Display action is on Multipage AND there is Data Read function involved? What is Data provider then ?
What is AJAX submit?
What if Display action is on Multipage AND there is Data Read function involved? What is Data provider then ?
Keep alive does what is says it does in the description.
Ajax also does what it says it does - it submits it with AJAX instead of changing the page.
Data provider is whatever you want it to be, if you set it to session:multipage then when you go back to a previous page it will look in session for values in session to match to the fields. If you set it to read data then clicking back will replace the field values with the database values instead of the multi-page values. Try both and pick one.
Ajax also does what it says it does - it submits it with AJAX instead of changing the page.
Data provider is whatever you want it to be, if you set it to session:multipage then when you go back to a previous page it will look in session for values in session to match to the fields. If you set it to read data then clicking back will replace the field values with the database values instead of the multi-page values. Try both and pick one.
So Keep Alive works like cookies for the browser?
* shrugs * I dunno
khm. Perhaps Max could help on better explanation? Thanks anyway!
My multipage form keeps messing with the data when user goes back and forth the pages that contain data read from database + new data entered by user. so I am trying to put "peaces together" to understand whats wrong with my form settings.
My multipage form keeps messing with the data when user goes back and forth the pages that contain data read from database + new data entered by user. so I am trying to put "peaces together" to understand whats wrong with my form settings.
So Keep Alive works like cookies for the browser?
No, keepalive makes a request every few minutes to keep the user session open, otherwise the session ends and the user is logged out, this is helpful for long forms open for logged in users only.
If you want to merge 2 data sets then you can merge them using a PHP action and return the result then use it in the "data provider"
Best regards
This topic is locked and no more replies can be posted.
