ad_form_new_p (public)
ad_form_new_p -key key
Defined in packages/acs-tcl/tcl/form-processing-procs.tcl
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.
- Switches:
- -key (required)
- the name of the key element. In the above example:
ad_form_new_p -key item_id
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_create_folder, fs_edit_folder