I have browsed the forum looking for solutions to the form reseting to "blank" fields if the validation image is not entered correctly.
Back in 2008 there were some post to use value="<?php echo $_POST'name']; ?>", but this not working for me. I have even tried to set a session value upon submit and that does not work either.
On the FAQ page http://www.chronoengine.com/faqs.html - (#35), there is a solution provided, but this does not work either.
I would like to retain checkbox selections as well if validation code does not work so the user does not have to select them again.
Variables/id being used are: name, email, phone, message
Another bit of information: I have Enable Validation set to "no" because I have a specific height to work with and the error messages push the form down and messes with the layout. I will do another post about this question.
Thanks in advance.
Back in 2008 there were some post to use value="<?php echo $_POST'name']; ?>", but this not working for me. I have even tried to set a session value upon submit and that does not work either.
On the FAQ page http://www.chronoengine.com/faqs.html - (#35), there is a solution provided, but this does not work either.
I would like to retain checkbox selections as well if validation code does not work so the user does not have to select them again.
Variables/id being used are: name, email, phone, message
Another bit of information: I have Enable Validation set to "no" because I have a specific height to work with and the error messages push the form down and messes with the layout. I will do another post about this question.
Thanks in advance.
Hi wlomax,
Please set "Republish fields if error occured" to "Try to republish" on the Form Editor General tab.
Bob
Please set "Republish fields if error occured" to "Try to republish" on the Form Editor General tab.
Bob
Hi Bob ,
Thanks, this works great, but, if I have selected one of the 15 checkboxes (how did you hear about us), the form will refresh will all the text in the text boxes (great) but it does the opposite for the chech boxes. Meaning, if I have selected 1 and I click submit without validation image it checks the other 14 and unchecks the one I actually selected.
Thanks.
Thanks, this works great, but, if I have selected one of the 15 checkboxes (how did you hear about us), the form will refresh will all the text in the text boxes (great) but it does the opposite for the chech boxes. Meaning, if I have selected 1 and I click submit without validation image it checks the other 14 and unchecks the one I actually selected.
Thanks.
Hi wlomax,
Not something that I've seen before. Please post a link to the form so we can take a quick look.
Bob
Not something that I've seen before. Please post a link to the form so we can take a quick look.
Bob
Hi Bob,
Here is the link: http://76.74.128.60/~elega246/index.php?option=com_content&view=article&id=2&Itemid=2
You will also see the error message appear and the content move down that messes up the look of the page. I posted this as another question. I just want the area that needs to be "fixed" to be highlighted in red instead of the actual error message so it doesn't mess up the look of the fixed height text area.
Thanks,
Bill
Here is the link: http://76.74.128.60/~elega246/index.php?option=com_content&view=article&id=2&Itemid=2
You will also see the error message appear and the content move down that messes up the look of the page. I posted this as another question. I just want the area that needs to be "fixed" to be highlighted in red instead of the actual error message so it doesn't mess up the look of the fixed height text area.
Thanks,
Bill
Hi Bill,
That's really odd; it may be that the lack of values for the checkboxes causes it. Try adding e.g. value='Google' and see if that fixes the problem.
Bob
That's really odd; it may be that the lack of values for the checkboxes causes it. Try adding e.g. value='Google' and see if that fixes the problem.
Bob
Hi Bob,
That worked, I added a value attribute to each of them and it works fine now. ... Well, that part of the form works now.
I still need to have the error message disappear so the form doesn't move down and validate a proper email address, but that is on the other post that you are helping with.
Thanks
Bill
That worked, I added a value attribute to each of them and it works fine now. ... Well, that part of the form works now.
I still need to have the error message disappear so the form doesn't move down and validate a proper email address, but that is on the other post that you are helping with.
Thanks
Bill
This topic is locked and no more replies can be posted.