Dear Sir Abu ,
How to add a caption or text Beside the input colom in the popup Add record or Edit Record , like sign required beside input colom ?
Thanks Sir
You can have following:
$opt["add_options"]["afterShowForm"] = 'function (form)
{
jQuery("#tr_gender .CaptionTD").append("(x)");
}';
Where 'gender' is the value set in $col["name"]
and you can replace (x) with image for any html code.
And for edit dialog:
$opt["edit_options"]["afterShowForm"] = '…';
…
$g->set_options($opt);
Sorry Sir ,
How If I add that by using the callback condition or onchange colom Condition in popup insert dialog or edit dialog ?
Thank You Sir
Hi,
Please refer this faq example for onblur, onchange events.
http://www.phpgrid.org/faqs/#80