Aug 15th, 2009, 10:51 AM
Interesting!
Taking the form offline through that setting has always been a rather odd feature, truth be told. I intended it purely for programmatical purposes: to prevent any new form submission - even faked POST requests - from being added to the database. I hadn't thought that people would use it to take their forms offline since it seemed better for them to actually remove the form itself (no-one wants to fill in a form just to find out it's offline!).
But this is a reasonable requirement & I've gotten this request before. I'm releasing a new build today or tomorrow - I'll include an option for you to include a hidden field in your form: form_tools_inactive_form_redirect_url. When that is set and the form is inactive, the user will be redirected to that URL.
This will affect both API and POST forms.
All the best -
Ben
Taking the form offline through that setting has always been a rather odd feature, truth be told. I intended it purely for programmatical purposes: to prevent any new form submission - even faked POST requests - from being added to the database. I hadn't thought that people would use it to take their forms offline since it seemed better for them to actually remove the form itself (no-one wants to fill in a form just to find out it's offline!).
But this is a reasonable requirement & I've gotten this request before. I'm releasing a new build today or tomorrow - I'll include an option for you to include a hidden field in your form: form_tools_inactive_form_redirect_url. When that is set and the form is inactive, the user will be redirected to that URL.
This will affect both API and POST forms.
All the best -
Ben