Mar 21st, 2009, 2:25 PM
I see your point. When the form page is called, I would have to query a DB setting to see what the set date is.
Thinking about this some more, perhaps in the same way when when a form is initialized and I am instructed to add the following code:
...selecting an end date during the form initialization process (Admin capability only) will generate the code to add as you provided above. If I (the Admin) ever change the end date within the form management process, I would be instructed/prompted to add modified code.
Oh well, just thinking out loud. I'll probably play around with this soon. Thanks for letting me use you as a sounding board.
Adam
Thinking about this some more, perhaps in the same way when when a form is initialized and I am instructed to add the following code:
PHP Code:
require_once("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" => "next_page.php",
"form_data" => $_POST
);
ft_api_process_form($params);
...selecting an end date during the form initialization process (Admin capability only) will generate the code to add as you provided above. If I (the Admin) ever change the end date within the form management process, I would be instructed/prompted to add modified code.
Oh well, just thinking out loud. I'll probably play around with this soon. Thanks for letting me use you as a sounding board.
Adam