|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
superman Smarty Rookie
Joined: 08 Jul 2003 Posts: 11
|
Posted: Mon Jul 14, 2003 9:22 am Post subject: validate form |
|
|
how to validate a form?
it will check whether it is empty or not, if yes, it will ask user to enter the value, the value for name can't in the numeric form, the IC Number can't in the string form. it also check the email is in the correct format.
thank you |
|
Back to top |
|
traveler Smarty n00b
Joined: 14 Jul 2003 Posts: 2
|
Posted: Tue Jul 15, 2003 5:42 am Post subject: |
|
|
Smarty may not has such functionality, but there is a framework called "SiteManager" (open source) which can easily check user form and put filter on it.
Maybe you can check out : http://www.roadsend.com/siteManager/home/treeMenu.php |
|
Back to top |
|
superman Smarty Rookie
Joined: 08 Jul 2003 Posts: 11
|
Posted: Tue Jul 15, 2003 7:08 am Post subject: |
|
|
thanx a lot |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|