Hi
I think I have solved this. I have simply inserted ft_api_clear_form_sessions(); into both forms before the $fields = ft_api_init_form_page(X);
So unless I have got this wrong, it clears anything stored in the variable when the page is first loaded so if a user arrives directly from the other form page it can't submit to the wrong ID.
If I have a stupid error in my reasoning do let me know.
Thanks
And just to round things off I have just found this post from Ben:
http://forums.formtools.org/showthread.php?tid=1327
Not sure if it is still valid as I haven't tested it yet but having different name spaces for each form certainly makes perfect sense.
Ben if that post on namespacing the forms is still correct I'd love to know.
I think I have solved this. I have simply inserted ft_api_clear_form_sessions(); into both forms before the $fields = ft_api_init_form_page(X);
So unless I have got this wrong, it clears anything stored in the variable when the page is first loaded so if a user arrives directly from the other form page it can't submit to the wrong ID.
If I have a stupid error in my reasoning do let me know.
Thanks
And just to round things off I have just found this post from Ben:
http://forums.formtools.org/showthread.php?tid=1327
Not sure if it is still valid as I haven't tested it yet but having different name spaces for each form certainly makes perfect sense.
Ben if that post on namespacing the forms is still correct I'd love to know.