This topic is locked

Field Validation Stopped Working After Adding Ajax

2/11/2009 12:41:08 PM
PHPRunner General questions
R
randall author

I had too many fields on one of my add pages, so I split it into 5 tabbed panels using Adobe Spry. It works fine, except that the data entry fields are no longer being validated for SSN, phone numbers, e-mail addresses, etc. Each of my panels is now a table contained within Div tags. I did not use Visual Editor. I just created my own HTML page (using the generated page as a model) and copied it into the templates folder. The only thing that does not work is the field validation. Any ideas on how to fix this?

J
Jane 2/13/2009

What PHPRunner version do you use?

R
randall author 2/13/2009

What PHPRunner version do you use?


version 4.2

J
Jane 2/16/2009

If you edit HTML pages in another program you can remove some JavaScript validation code.

Compare your pages with clean HTML templates.
In the latest PHPRunner 5.0 all validation code is in the php files. So you can't remove it editing HTML code.

R
randall author 2/16/2009

If you edit HTML pages in another program you can remove some JavaScript validation code.

Compare your pages with clean HTML templates.
In the latest PHPRunner 5.0 all validation code is in the php files. So you can't remove it editing HTML code.


Thanks, Jane. That's probably exactly what I did. After this project, we'll be moving to PHPRunner 5.0 (or 5.1).

R
randall author 2/17/2009



Thanks, Jane. That's probably exactly what I did. After this project, we'll be moving to PHPRunner 5.0 (or 5.1).


No. That wasn't the problem. All the original code is still intact.

J
Jane 2/18/2009

Hi,
code on the page is broken if these pages had worked before you've modified it in another program.

It's difficult to tell you what's happening without seeing actual files. I recommend you to compare your files more carefully.