Added ability to Omit fields from the HTML form

0 views
Skip to first unread message

Nick DeNardis

unread,
Nov 13, 2006, 9:00:23 PM11/13/06
to PHPSimpl
This just in, we have added another parameter to the Form() function
that when passed an array of field names will omit them from the form
when output or submitted. This is crucial when you have as a password
field that you would like to stay private or if you have multiple
fields in the same form with the same name, like "user_id". You can now
hide the ones that are not necessary.

New Function Prototype:
function Form($display='', $hidden=array(), $options=array(),
$config=array(), $omit=array());

Reply all
Reply to author
Forward
0 new messages