dynamic to ??

mojohand 13 May, 2009
Just to refine this topic:

The "dynamic to" email variable is pulling data from a text field.
Is there any way to modify the core script that it is only being executed if the given field contains data.
So if the user leaves it empty the dynamic to variable remains inactive.

Any idea?
samoht 13 May, 2009
Then who would the email go to??
mojohand 13 May, 2009
this is the url
http://www.ravaluk.com/index.php?option=com_content&view=article&id=14&Itemid=16

you will see what i ment. Now I had to put the [email]sample@domain.com[/email] emails as default.
If the user would like to invite only 1 or 2 guest and leave the third box empty the form displays an error message" Server misconfiguration"
Probably because the 3rd "dynamic to" email is awaiting the data. So it would be good to find a solution to activate that only if the text box is filled...
Max_admin 14 May, 2009
Hi mojohand,

you need PHP to achieve this, many examples are posted here, the code will have some variable like $MyFormEmails, but if you posted the HTML of this piece of the form then I will try to help!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mojohand 18 May, 2009
Hi Max,
I read your post at the other topic. Upgraded the component and all works perfectly. Thanks very much for helping out:):) ...and the upgrade is awesome...
This topic is locked and no more replies can be posted.