Forums

Switching of fields in Action Editor

Ron 28 Mar, 2023
Hello
I have many php scripts doing various things in the Action Editor of my forms. I am making the forms again as sadly there is no upgrade facility from one version to another in chronoforms.
I get stuck many times and as an uneducated person in php I find it very difficult getting to know which script is creating problems. Most of the time error log does not show. Nor does the Debug show.
Is it possible that I can somehow switch off a field in the Action Editor part of the form? This will help me find very easily which script is a problem. Removing and putting back a field is a pain in the neck and becomes a problem in complex forms that do many calculations in the backend.
So if it is possible please help me find out how to do it. Or I request the developers to add this facility in the next update.
Thanks
Ron
Ron 28 Mar, 2023
I hope to get a reply
Max_admin 29 Mar, 2023
Answer
You may use the Behaviors > Data > ACL or Run Conditions to disable any action or view

Set the ACL to a different user group or set the conditions to something logically false, like 1 == 0
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 30 Mar, 2023
Hey Max.

Thanks very much. that worked. I have one more question: I want to go to the next page automatically. How do I do that ? I tried something like this in HTML. but it does not work.

<meta http-equiv="refresh" content="5;url=index.php?option=com_chronoforms7&chronoform=test&gpage=third_page" />


I want a delay before it goes to the next page. The above does not work and closes the form in the front end.

Any suggestions

Thanks

Ron
Max_admin 30 Mar, 2023
The form has security to prevent jumping to next pages without completing previous ones, so you need to set the "Page Group" type to "Standalone" to prevent this, but you may need to set the "Next page" manually in the page settings
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 30 Mar, 2023
Thanks for the reply, Max.
Is this approach correct that I have this URL to the next page?
<meta http-equiv="refresh" content="5;url=index.php?option=com_chronoforms7&chronoform=test&gpage=third_page" />


Thanks again
Ron
Max_admin 30 Mar, 2023
if you want auto redirect then I think it should be ok
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 30 Mar, 2023
Max.. It works fine in Joomla 3 but does not work in the front end of joomla 4.
Ron 30 Mar, 2023
It works max. Just need to change the URL...
Ron 30 Mar, 2023
1 Likes
Thanks for all the help
You need to login to be able to post a reply.