Hi,
I have a form which was in use for a year or so, a lot of fields but basically a data entry and editing form. Read and save data, emails, quite a bit of logic but all in CF6 actions.
I have been making a few changes and suddenly it has stopped moving to the submit event when the Send button is pressed. It just reverts to the load page each time and there is no "&event=submit" on the url.
So then I thought maybe there is a validation problem, but there is not.. and no event loop action. All that happens is it acts just like an Event Load when I click the submit button.
I have tried all kinds of changes including backing up the form and then removing sections of it, but nothing seems to change. All other forms work as expected.
Because there are so many fields I don't really want to start again, but I may have to. Is there any suggest about what may cause this?
Cheers
Tim
I have a form which was in use for a year or so, a lot of fields but basically a data entry and editing form. Read and save data, emails, quite a bit of logic but all in CF6 actions.
I have been making a few changes and suddenly it has stopped moving to the submit event when the Send button is pressed. It just reverts to the load page each time and there is no "&event=submit" on the url.
So then I thought maybe there is a validation problem, but there is not.. and no event loop action. All that happens is it acts just like an Event Load when I click the submit button.
I have tried all kinds of changes including backing up the form and then removing sections of it, but nothing seems to change. All other forms work as expected.
Because there are so many fields I don't really want to start again, but I may have to. Is there any suggest about what may cause this?
Cheers
Tim
Hi Tim,
This problem occurs when you test the form in the admin area using the "preview" button ?
This problem occurs when you test the form in the admin area using the "preview" button ?
Hi Max,
The form is called on a redirect from another form, not in a preview.
The first form retrieves a list of available records from a table, and the user selects one of them. This then redirects to the problem form, using the selected record number as a parameter. The second form allows the record to be edited and saved. The complexity being that there are around 40 fields and a number of processing branches in the submit, depending on the various states the record can be in.
This is all good and had been working for about a year, but a few days ago I needed to make a few changes including introducing a new processing path. I did this by adding another button and some extra logic in the submit event. There were already two other "submit" buttons which worked fine at the time - my technique is to set values on the buttons and then use these values in the submit event to branch to the appropriate processing. So I just added another button in the same way but after that none of the buttons worked - the submit event was not entered at all (by any buttons) and the form just redisplayed just as if an Event Load was triggered. I tried also a Link button to the submit event but that had the same behaviour. I tried deleting the submit event and adding a new empty one, but that did the same. So the problem seems to be in the load event (sorry, I mean the "one" event) when it is asked to go to the next event in the form.
So I'm a bit puzzled by this. I can only imagine some corruption occurred in saving the form, but I don't seem to be able to backtrack to a working version. Unfortunately because it was routine maintenance I didn't think to take a backup so I'm stuck.
So I am starting again to develop the form again from scratch while still hoping there is some fix.
I'm using CF6.1.4
Cheers
Tim
The form is called on a redirect from another form, not in a preview.
The first form retrieves a list of available records from a table, and the user selects one of them. This then redirects to the problem form, using the selected record number as a parameter. The second form allows the record to be edited and saved. The complexity being that there are around 40 fields and a number of processing branches in the submit, depending on the various states the record can be in.
This is all good and had been working for about a year, but a few days ago I needed to make a few changes including introducing a new processing path. I did this by adding another button and some extra logic in the submit event. There were already two other "submit" buttons which worked fine at the time - my technique is to set values on the buttons and then use these values in the submit event to branch to the appropriate processing. So I just added another button in the same way but after that none of the buttons worked - the submit event was not entered at all (by any buttons) and the form just redisplayed just as if an Event Load was triggered. I tried also a Link button to the submit event but that had the same behaviour. I tried deleting the submit event and adding a new empty one, but that did the same. So the problem seems to be in the load event (sorry, I mean the "one" event) when it is asked to go to the next event in the form.
So I'm a bit puzzled by this. I can only imagine some corruption occurred in saving the form, but I don't seem to be able to backtrack to a working version. Unfortunately because it was routine maintenance I didn't think to take a backup so I'm stuck.
So I am starting again to develop the form again from scratch while still hoping there is some fix.
I'm using CF6.1.4
Cheers
Tim
Try to disable the "Follow pages order" setting in the form settings ?
I would also recommend you use the new v7 for new forms.
And why do you need 2 forms for getting a value then showing the fields ? one form can do that, you just move your fields to the 2nd page
I would also recommend you use the new v7 for new forms.
And why do you need 2 forms for getting a value then showing the fields ? one form can do that, you just move your fields to the 2nd page
This topic is locked and no more replies can be posted.