Multiple Forms on Same Page |
(07-28-2016, 11:19 AM)cartalot Wrote: You can have more then one form on a page. Your form field names should be unique for each form. You can display the errors specific to the exact field - study this: Thanks for this. I might not have found this segment of the document that easily. Now, if I do this, do you think it would be a better idea to load the form validation library locally in the function to validate - for instance, the subscribe() or the dologin()? At the moment, I think because I am loading the Helper and also the Library in the constructor, the error messages are displayed for all existing forms. Thanks again for the URL. I will be studying this in detail tonight. |
Messages In This Thread |
Multiple Forms on Same Page - by Petersk - 07-27-2016, 11:54 AM
RE: Multiple Forms on Same Page - by cartalot - 07-28-2016, 11:19 AM
RE: Multiple Forms on Same Page - by Petersk - 07-28-2016, 12:10 PM
RE: Multiple Forms on Same Page - by cartalot - 07-28-2016, 03:44 PM
RE: Multiple Forms on Same Page - by mwhitney - 07-28-2016, 01:11 PM
|