ajaxCRUD.com

» a PHP class to create / read / update / delete from a database table using AJAX

   by loud canvas media

AjaxCRUD API Reference

<< Reference overview
<< Home

omitAddField

omits the input field from displaying when adding a row
void omitAddField ( String fieldName )
Use this function if you do not want to add a value when you create a row. It is useful for fields like fldLastModified, etc.

This function will NOT omit the field from being displayed in the table. To do this use omitField. Also: you can use the addValueOnInsert function in conjuntion to set a specific value to the field on row insert.

Details

Type function
Returns void

Parameters

fieldName
The name of the field you do not wish display an input box for (when creating a new row)

Example

$tblDemo->omitAddField("fldLastModified");

See also

New, Edit

 

"OMG! This is just what I was looking for. Thanks so much. This is amazing!"
~Simone