The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Can ft_api_check_submission_is_unique do this? - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17) +--- Thread: Can ft_api_check_submission_is_unique do this? (/showthread.php?tid=438) |
Can ft_api_check_submission_is_unique do this? - eschulze - Jan 12th, 2010 I'm wonder if ft_api_check_submission_is_unique can check if criteria are unique across multiple forms. I have 3 different registration forms (different locations) ... I want to make sure not only that our users cannot register multiple times using the same form, but also make sure that they cannot register for multiple locations as well. I guess the question can be simplified this way. Can multiple form ids be used in the $form_id parameter ... if so, how? RE: Can ft_api_check_submission_is_unique do this? - Ben - Jan 16th, 2010 Hi eschultz, Unfortunately not... that function is only designed for examining submission content in a single form. What you'd need to do is run it three times on each form, with the same criteria. Then you could compare the results of each to confirm the user has only registered with one of the forms. Neat idea, though. One of Form Tools' real failings, to my mind, is the lack of support for integration of multiple forms. Requests of this nature often spring up in the forums, so it's always at the back of my mind. Anyway, I hope running the function multiple times will work for your case. - Ben |