Forums

Switching of fields in Action Editor

R
Ronn posted Mar 28, 2023 at 22:19
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
R
Ronn posted Mar 28, 2023 at 22:52
I hope to get a reply
Max_admin posted Mar 29, 2023 at 20:34
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...
R
Ronn posted Mar 30, 2023 at 04:51
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 posted Mar 30, 2023 at 05:24
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...
R
Ronn posted Mar 30, 2023 at 05:39
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 posted Mar 30, 2023 at 05:45
if you want auto redirect then I think it should be ok
Max
ChronoForms developer...
R
Ronn posted Mar 30, 2023 at 06:07
Max.. It works fine in Joomla 3 but does not work in the front end of joomla 4.
R
Ronn posted Mar 30, 2023 at 06:59
It works max. Just need to change the URL...
R
Ronn posted Mar 30, 2023 at 07:00
1 Likes
Thanks for all the help
You need to login to be able to post a reply.

 2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com