Home  >  Article  >  Backend Development  >  How to use joomla's built-in form validation function_PHP tutorial

How to use joomla's built-in form validation function_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:37:19772browse

Here's how to use it:
Enter the following code at the top of the page where you want to use the form function
JHTML::_('behavior.formvalidation');
Then add the following script to the page

Copy code The code is as follows: