Swashata has written 257 articles

Hi there, I am the Lead Developer at WPQuark.com. I love to create something beautiful for WordPress and here I write about how to use them. When I am not working, usually I am doing a number of other creative things ;).

APIs on third party integrations

Hook:ipt_fsqm_hook_integration Triggered when a submission is saved for the first time by a user and all predefined integrations have been processed. Hook Uses Accepts one argument, a reference to the IPT_FSQM_Form_Elements_Data object. [php] /** * Add into the integration execution hook * To carry out our custom integration * * @param object $obj A reference…

APIs on file upload handling

Hook: ipt_fsqm_hook_save_fileupload Triggered when saved files are updated after a successful submision save. Hook Uses Accepts one argument. A reference to IPT_FSQM_Form_Elements_Data object. [php] /** * Hooks into filesave event during a submission * * @param object $obj Reference to IPT_FSQM_Form_Elements_Data object */ function hook_fsqm_filesave( $obj ) { global $wpdb, $ipt_fsqm_info; // Get the uploaded…

APIs on Form Submission Handling

Hook: ipt_fsqm_hook_save_insert Triggered when a new submission is stored in the eForm data table. Hook Uses The callback function is passed only one argument. A reference to the IPT_FSQM_Form_Elements_Data object that has called the hook. [php] /** * Hook into ipt_fsqm_hook_save_insert * * @param object $data Object reference to IPT_FSQM_Form_Elements_Data */ function fsqm_hook_save_insert( $data )…

APIs on form variables and data structure

Filter: ipt_fsqm_filter_valid_elements Filter is used to extend form elements which can be used by the form builder. All valid elements are categorized into four sections: Design Elements: Elements that controls the appearance of the form and has nothing to do with actual HTML form elements. MCQ Elements: Quiz elements, where scores can be set. Feedback…

APIs on basic form & submission administrative actions

Hook: ipt_fsqm_forms_deleted This is triggered when eForm is about to delete some forms from the system. Hook Uses The callback function accepts one parameter, an array of form ids that is about to get deleted. [php] /** * Hook use ipt_fsqm_forms_deleted */ function hook_into_forms_deleted( $ids ) { global $ipt_fsqm_info, $wpdb; $delete_ids = implode( ‘,’, $ids…