$form_property
$form_property
set_form_property(array $prop) : $this
Advanced method to set form properties directly through an array.
Reference: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing
array | $prop |
|
set_dimension(mixed $col, int $cols, int $rows) : $this
Set control dimension width and height. Note that this is not the same as set_form_dimension().
It is used with text type only. For column type text, the width is translated to "size", its height is ignored. for text area, the width is translated to "cols" and height to "rows"
mixed | $col |
|
int | $cols |
|
int | $rows |
|
set_ctrltype(mixed $col, mixed $ctrltype, null $keyvalue_pair, bool $multiple) : $this
Set HTML control type of a specific field. Select and Textare control types are automatically determined by the database field char type based on its length. But you can set it otherwise.
mixed | $col |
|
mixed | $ctrltype |
|
null | $keyvalue_pair |
|
bool | $multiple |
|
add_captcha() : $this
Add CAPTCHA (“Completely Automated Public Turing test to tell Computers and Humans Apart”), a type of challenge-response test used in computing to determine whether or not the user is human.
phpDatabaseForm uses realperson jQuery plugin available under MIT license.
set_mask(mixed $col, mixed $mask, string $extra_prop)
Provides a general format to text field and enforce it's structure as the user types in values.
It gives the user an idea about how they should enter the data.
phpDatabaseForm uses jQuery Mask Input created by Igor Escobar http://igorescobar.github.io/jQuery-Mask-Plugin/ available under MIT license.
mixed | $col |
|
mixed | $mask |
|
string | $extra_prop |
|