Hi sujith,
Ah yes, I need to update that page. Thanks for the reminder!
Add this code after your ft_api_init_form_page() function call:
That will merge the incoming POST request with the values already stored in $fields (overwriting with the latest from the form).
Hmm... it works fine, but I don't like it much. I'll have to revisit this at some point.
Thanks sujith.
- Ben
Ah yes, I need to update that page. Thanks for the reminder!
Add this code after your ft_api_init_form_page() function call:
Code:
if (isset($_POST)) {
$fields = array_merge($fields, $_POST);
}
That will merge the incoming POST request with the values already stored in $fields (overwriting with the latest from the form).
Hmm... it works fine, but I don't like it much. I'll have to revisit this at some point.
Thanks sujith.
- Ben