Hello all,
Can anyone tell me if it is possible to restrict or constrain a Fills Out Form trigger to only when a person is not being created by the form fill out?
Thanks in advance for your help.
Solved! Go to Solution.
Hi Kevin,
I think you should be able to accomplish this using a Not Lead was Created filter plus a Filled out Form filter. The filters should use OR logic.
The Not Lead was Created filter is constrained by Form Name = the same form as the trigger.
But what if the lead was created by this form in the past? That's why we need the Filled Out Form filter with constraint Form Name = the same form as the trigger, and Min. Number of Times = 2. The first fill being their past fill and the second+ one being this specific fill.
So the only leads that will quality are the leads not being created by the form on that specific fill.
Hi Kevin,
I think you should be able to accomplish this using a Not Lead was Created filter plus a Filled out Form filter. The filters should use OR logic.
The Not Lead was Created filter is constrained by Form Name = the same form as the trigger.
But what if the lead was created by this form in the past? That's why we need the Filled Out Form filter with constraint Form Name = the same form as the trigger, and Min. Number of Times = 2. The first fill being their past fill and the second+ one being this specific fill.
So the only leads that will quality are the leads not being created by the form on that specific fill.
Well done.
Another way to spin this is to have a custom DateTime field Last Form Submit DT.
Then
MktoForms2.whenReady(function(mktoForm){
mktoForm.onSubmit(function(mktoForm){
mktoForm.addHiddenFields({
LastFormSubmitDT : new Date().toISOString()
});
});
});
And when a lead is created by something other than a form, set this value to the beginning-of-time. (So it's never empty.)
Now, when that field changes (Data Value Changes trigger) that means the person has submitted another form.
Hi Sanford,
Thank you as well for your reply! Although I will most likely use the previous suggestion, it is great to know that this is possible. I can also see other applications for a solution like this and will keep this in mind for future use.
Hi Salytics,