Forums

email copy to user, but only when checkbox is selected.

GreyHead 12 May, 2012
Hi carsten888,

There are a couple of possibilities.

The simplest is to use my Email [GH] action which includes a simple 'Condition' option for exactly this use.

You could also use my Event Switchcer action if you needed to build a more complex condition like "if this is true send Email A or if that is true send Email B".

Bob
carsten888 14 May, 2012
I tried the Email [GH] action, which makes sense. Both emails arrive, so that works.
But after the form is send, above the email 'thank you' message, there is this output 'Ongeldig adres' (its a Dutch site) this means 'Invalid address' (PHPMAILER_INVALID_ADDRESS). But both emails arrive anyhow.
The message is not in the Joomla message container, just plain above the thank you text output.
How to get rid of that message?
GreyHead 14 May, 2012
Hi karsten888,

Please (a) upgrade to the latest Joomla! release if you haven't already done so and (b) check item 'm' in this post

Bob
jjspelman 05 Jun, 2012
I followed the instructions on commenting out this code to get rid of the "Valid Address":

 /*   if(isset($this->language[$key])) {
      return $this->language[$key];
    } else {
      return 'Language string failed to load: ' . $key;
    } */


The message is gone, but we are left with a colon (:). Has anyone had this experience and have any idea on how to get rid of it?
GreyHead 06 Jun, 2012
Hi jjspelman,

The code appears twice in the file - have you edited both copies?

Bob
jjspelman 06 Jun, 2012
I am only seeing it once - on line #2113 - where else is it? (Joomla 2.5.4)
GreyHead 06 Jun, 2012
Hi jjspelman,

The code from the RSForms article is at lines 485 and 517.

Bob
jjspelman 06 Jun, 2012
Hi Bob,

Yes that is correct, but the article suggested that change for Joomla 1.6. It suggested the other change for Joomla 1.7. Or am I missing something?
CritterLes 20 Aug, 2012
I hate to sound dense but where is the Email GH option?
The instructions also state:
This is a new custom Email action for ChronoForms v4 that adds extra flexibility for advanced users.

New Conditional box enables the Email Setup only if a form input has a specified value e.g. send_email = Yes
The Static and Dynamic tabs have been combined on a new Email Setup tab.

I have version 4 download but my Static and Dynamic tabs under Email are still seperate and I don't see any Email GH in the Actions area.
What am i missing?
CritterLes 20 Aug, 2012
Please disregard my question Grey, I found the seperate download units and the Email action is working perfectly. I always figure it out right after I ask.
THanks
GreyHead 20 Aug, 2012
Hi Les,

It's remarkable how asking the question helps find the answer :-)

For other readers, please see this FAQ about my [GH] custom actions.

Bob
This topic is locked and no more replies can be posted.