The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
first API form - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: first API form (/showthread.php?tid=1040) |
first API form - newbie2005 - Jan 20th, 2011 When I install form tools and would like to test the API function, but can't success follow tutorial page, Any sample of API form, let me test first ? RE: first API form - Ben - Jan 20th, 2011 Hey newbie! Sorry, I actually don't quite follow your problem. Are you looking for tutorials, or were the instructions not clear in one of them? http://docs.formtools.org/tutorials/ - Ben RE: first API form - newbie2005 - Jan 24th, 2011 I follow the "Adding a single-page form with the API" page to create testapi.php, detail as below <?php require_once("my webserver path/to/form_tools/global/api/api.php"); $fields = ft_api_init_form_page("", "test"); $params = array( "submit_button" => "submit_button_name_attribute", "next_page" => "thanks.php", "form_data" => $_POST, "file_data" => $_FILES, "finalize" => true ); ft_api_process_form($params); ?> Select add form, in step 3 "TEST SUBMISSION" found "Form Tools hasn't received a successful test submission yet. " any mistake ? |