Hello.
I'm using a Chronoform form on my website, which can be used by the members to send invitations to their friends to create an account on the website.
There's no problem with the form itself, which works perfectly (great job !!)
I just want to add a custom code before sending the message, in which I would check if the email is already registered into the database.
The code itself is really simple. My question concerns the way I can integrate my code to the form.
More precisely : is it possible to assign a condition on the "Email" action, depending on some variable content ?
My idea was to send my query in a "Custom code" step located just before the "Email" action, to store the result in a hidden input of my form, and then use this input content as a condition on the "Email" action.
Thanks in adcance for you advice/help.
plastic1st
I'm using a Chronoform form on my website, which can be used by the members to send invitations to their friends to create an account on the website.
There's no problem with the form itself, which works perfectly (great job !!)
I just want to add a custom code before sending the message, in which I would check if the email is already registered into the database.
The code itself is really simple. My question concerns the way I can integrate my code to the form.
More precisely : is it possible to assign a condition on the "Email" action, depending on some variable content ?
My idea was to send my query in a "Custom code" step located just before the "Email" action, to store the result in a hidden input of my form, and then use this input content as a condition on the "Email" action.
Thanks in adcance for you advice/help.
plastic1st