Hi,
I'm use a FormValidator in a secondary page include in a RawInclude component of primary page as "pagecontent".
When I execute only the secondary page I have no problem and routine FormValidator1_validate() is correctly execute in "onSubmit" event page.
But, when I execute primary page where is include RawInclude , FormValidator of secondary page don't work ! I'm testing many thinks in "onSubmit" event of primary page with no success ?
I have put three topics for this problem, with no solutions in :
- Forum FORUMS.CODEGEAR.COM https://forums.codegear.com/thread.jspa?threadID=16115&tstart=0
- Forum DELPHI-PHP/VCL4PHP http://forums.delphi-php.net/vcl4php/3694-formvalidator-rawinclude-dont-work.html
- Forum QUADRAM/VCL4PHP http://www.qadram.com/vcl4php/forums/viewtopic.php?t=694&sid=4e6eb01f83773980a18f8aae2c456a9f
I think it's a bug !
Thank you,
Guy
small project example problem
I haven't checked, but RawInclude is not part of the VCL, you should try contact the RawInclude developer. In my opinion, the javascript code required for the form validator to perform the validation is not being generated when you are using RawInclude.