Forums

Auto Server Side Validation subactions disappearing

critter42 10 Jan, 2012
I am having an issue. We are migrating from J1.5 to 1.7/2.5. To hopefully make life a little easier, we have installed J1.7 fresh using a spare domain. I backed up my CF4 forms from the live J1.5 site and restored them to the new site and am now running into a problem.

I have attached an image of the events structure. Pretty much all of the forms' events are the same. The problem comes when I edit the form. When I hit Save (or Save and Close), even if I did not change anything, then go back to the Events tab of the form all of the sub-actions for the Auto Server-side Validation action are gone.

If I restore the form from backup, those actions are there, but as soon as I do anything to the forms, those subactions disappear.

Now, the new installation is using a different database prefix and a different database (on the same host) than the old one to help prevent data contamination.

[attachment=0]nCDlH.jpg[/attachment]
GreyHead 10 Jan, 2012
Hi critter42 ,

I'm not sure why that is happening :-( Not something I've expereinced yet.

As a general rule I suggest that you avoid stacking actions too deep. If there is nothing in the On Success event then the next action in the parent event is executed so I leave the On Success events empty and put the main flow of events directly into the ON Submit event.

A bit hard to explain but the end result will look like the image below.

Bob
critter42 10 Jan, 2012
Yes, that image makes it clear. That was a bit of information I didn't realize, but it makes perfect sense on reflection🙂 . I'll rearrange the actions and see what happens.

As I noted, it works fine in J1.5/CF4 RC 2.0
GreyHead 10 Jan, 2012
Hi critter42,

Note that you can't drag and drop actions between events (maybe in a future version) you can add a new one and then copy and paste over the settings though - I do it with two browser windows.

Bob
critter42 10 Jan, 2012
Yeah, I figured that out the hard way during the CF3->CF4 conversion🙂
Max_admin 13 Jan, 2012
Another thing which may be causing this issue (I'm not sure though) is that, J1.5 has a different parameters structure in the database, so if you restore J1.5 forms into J1.6/7 then this may make some problems to the data stored, you may try to recreate the same sub actions in the "Auto server side" box and see if they will get removed again or not.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.