Posts: 55
Threads: 25
Joined: May 2009
Reputation:
0
Client has a online seating auction system built with FT API. The only issue is when the client turns the form off to stop the bidding users can still submit but are then redirected to an error page. Does anyone now a workaround to redirect/or change the error page #303 so the clint gets an official Bidding Closed. Thanks in Advance!
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
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