1. Fabrik 3.5.2 is now available to download. Read the blog for highlights about this release.

    As always, please back up your site prior to updating and if possible test in a dev environment first.

    Also, our 3.5.1 package file was hacked, the effected dates were 1/15/2017 - 1/17/2017. If during those days you downloaded the 3.5.1 package file from the JED or our site download page, please re-install the package with a fresh copy or upgrade to Fabrik 3.5.2. Github downloads were not effected.

Example Email Eval please? Can't get mine to work

Discussion in 'Community' started by bggann, Nov 23, 2011.

Thread Status:
Not open for further replies.
  1. bggann

    bggann Member

    Level: Professional
    Okay - been fighting this for some hours, and reading lots of the forum, experimenting, etc.

    But I'm just not getting something. Probably something very stupid.

    I've got a form that has a field (radio box). Based on the value in that field, I want to add the submitter to the email plugin. I'm trying to do that by using the email eval, but it is not triggering. The email goes to the main "to" email address, but not the additional one in the Eval.

    The table (a test table) has 2 fields of interest - an email and a radio button with labels "Send" and "Don't send" and values of "Yes" and "No"
    the submitter's email is in

    The send/don't send is in

    My Email eval code is:

    return ({fab_testing_table___Test_choice_raw} == 'Yes') ? {fab_testing_table___Test_email} : "";

    What I expect to happen is that if the value of

    fab_testing_table___Test_choice_raw is 'Yes'

    It should return the email contained in fab_testing_table___Test_email and add that to the list of email addresses sent to.

    BTW - I know {fab_testing_table___Test_choice_raw} and {fab_testing_table___Test_email} are correct, because they are displayed in the subject line and show up in the email sent to the main "To" address.

    What am I doing wrong.
    Running Fabrik 2.1, Joomla 1.5.23 on Rochen.
Thread Status:
Not open for further replies.

Share This Page