Hi Folks,
I know from Google searches that this topic has popped up in various forms before, however the explanations always seem to assume that the forms being created in Fabrik and used on a website are storing their information in tables when the user clicks "submit".
I am not doing this for a few forms that I have created, and I am sending the output directly to an email using the Plug-ins function of the form.
So I have tried using the various solutions I have found here in the forums already, but every time I use them, using the syntax: <?php echo$this->emailData['some_element_name'];?> to output the value of an element into my email template, I just get an error message in the email that is sent telling me that there is an "undefined index" with the same name as the element I have used in the PHP echo statement.
So I am wondering whether there is a different syntax you need to use to echo out the value of a form element when you aren't using table?
I know I can just do this with placeholders, but ultimately I want to be able to output repeating groups to email and that requires that I use PHP and not just the standard placeholders.
So any insight that anyone can provide would be very helpful.
Duncan
I know from Google searches that this topic has popped up in various forms before, however the explanations always seem to assume that the forms being created in Fabrik and used on a website are storing their information in tables when the user clicks "submit".
I am not doing this for a few forms that I have created, and I am sending the output directly to an email using the Plug-ins function of the form.
So I have tried using the various solutions I have found here in the forums already, but every time I use them, using the syntax: <?php echo$this->emailData['some_element_name'];?> to output the value of an element into my email template, I just get an error message in the email that is sent telling me that there is an "undefined index" with the same name as the element I have used in the PHP echo statement.
So I am wondering whether there is a different syntax you need to use to echo out the value of a form element when you aren't using table?
I know I can just do this with placeholders, but ultimately I want to be able to output repeating groups to email and that requires that I use PHP and not just the standard placeholders.
So any insight that anyone can provide would be very helpful.
Duncan