Incremental
Member
Hello,
for a contact Form, I have 2 groups :
At the moment, my validation is working for public with a few Forms Plugins :
Do I just need some PHP run OnBeforeStore ?
2) Sending an email, I tried to add another email plugin with the condition "Answer message not empty".
I added the condition :
but it doesn't work ! Any idea ???
3) I'm wondering if it's not simpler to have only one full PHP plugin performing validations and email sending.
Are there any limitations in plugins accumulation ?
For sending emails what is the best PHP code ?
Thanks
for a contact Form, I have 2 groups :
- contact : with public elements for contacting
- reply : with admin answering elements
At the moment, my validation is working for public with a few Forms Plugins :
- email : send a mail to Admin, when there is a contact,
- receipt : allows user to receive a copy by mail,
- redirect : redirect or display a message when Contact is submitted
- store the Reply group element contents in DB,
- send an email to the user, with the reply.
Do I just need some PHP run OnBeforeStore ?
2) Sending an email, I tried to add another email plugin with the condition "Answer message not empty".
I added the condition :
PHP:
return '{contacts___Answer}' != "";
3) I'm wondering if it's not simpler to have only one full PHP plugin performing validations and email sending.
Are there any limitations in plugins accumulation ?
For sending emails what is the best PHP code ?
Thanks