I'm sure I'm missing something obvious here and maybe there is info on this somewhere but my searches came up empty.
I have a form from V3 that I'm rebuilding in V4 and while I have much of this working, I haven't figured out how to get the form data to reload in the case of an error. I have the reload option set on the Show html action in the OnLoad event and I have a Data To Session action in the OnSubmit (before the server side validation which triggers the Event Loop action to do an OnLoad)
Seems like the right thing to do but when I get the errors the data doesn't reload.
Thanks!
Dave
I have a form from V3 that I'm rebuilding in V4 and while I have much of this working, I haven't figured out how to get the form data to reload in the case of an error. I have the reload option set on the Show html action in the OnLoad event and I have a Data To Session action in the OnSubmit (before the server side validation which triggers the Event Loop action to do an OnLoad)
Seems like the right thing to do but when I get the errors the data doesn't reload.
Thanks!
Dave
Hi Dave,
It should be enough to leave the Show HTML action 'Republish Form Data' setting as 'Yes'. You don't need the Data to Session action for this to work.
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
It should be enough to leave the Show HTML action 'Republish Form Data' setting as 'Yes'. You don't need the Data to Session action for this to work.
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
I PM'd you some info.
also one question related to your book, since it is for version 3.1, how useful is it for version 4? i.e. how much has changed between the versions.
Thanks!
Dave
also one question related to your book, since it is for version 3.1, how useful is it for version 4? i.e. how much has changed between the versions.
Thanks!
Dave
Hi Dave,
The problem with the form is that the text inputs are missing the type='text' attribute. This is requires in HTML though browsers will tolerate it's absence, but the ChronoForms republish code uses this to identify how to add values to the various kinds of inputs.
The book is still fairly useful for ChronoForms v4. The big change is that all of the admin setup and the event/action work-flow has changed in v4; slightly less important is the change of the MooTools library from 1.12 to 1.2.5/1.3. That said, most of the code examples in the book and the form applications can be adapted to v4 without too much difficulty once you are familiar with the way v4 works.
Bob
The problem with the form is that the text inputs are missing the type='text' attribute. This is requires in HTML though browsers will tolerate it's absence, but the ChronoForms republish code uses this to identify how to add values to the various kinds of inputs.
The book is still fairly useful for ChronoForms v4. The big change is that all of the admin setup and the event/action work-flow has changed in v4; slightly less important is the change of the MooTools library from 1.12 to 1.2.5/1.3. That said, most of the code examples in the book and the form applications can be adapted to v4 without too much difficulty once you are familiar with the way v4 works.
Bob
This topic is locked and no more replies can be posted.