This is for pages built with ad_form that handle edit and add requests in one file.
It returns 1 if the current form being built for the entry of new data, 0 if for
the editing of existing data.
It does not make sense to use this in pages that don't use ad_form.
- -key (required)
- the name of the key element. In the above example:
ad_form_new_p -key item_id