I am using a DB Record Loader to pull a record from my database. I am using a custom code action, however, to display the data. I want to include an "Email Me This" button on the form, which will send the user his/her data, as displayed on the screen. However, I cannot get the data to add to the email. I have tried calling the fields the way I do in the custom code, like:
And I have tried to insert the fields by using the curly brackets. Neither works. What am I missing?
<?php
$purchquota = number_format($form->data['acct_purchase_quota'],2);
echo $purchquota;
?>
And I have tried to insert the fields by using the curly brackets. Neither works. What am I missing?
Hi Rick,
Either you need to add the data in hidden inputs; or perhaps better, use a 'Data to Session' action to save it when the form is loaded and a 'Session to Data' action to get it back if they click the Email button. You need to mtach the session keys if these are different forms.
Bob
Either you need to add the data in hidden inputs; or perhaps better, use a 'Data to Session' action to save it when the form is loaded and a 'Session to Data' action to get it back if they click the Email button. You need to mtach the session keys if these are different forms.
Bob
This topic is locked and no more replies can be posted.