adding php code while sending form

_prakash 04 Jan, 2010
I need to send some information(with php code) embedding with the form submission.
And I made a hidden form, for that php variable to send ... please if anybody can make me a way out
GreyHead 04 Jan, 2010
Hi _prakash,

I don't understand your question but it may be that the cURL plugin will do what you want.

Bob
_prakash 04 Jan, 2010
Hi Grey Head, I am just using the chromoform. More precisely, I need the current date and time to be mailed, while submitting the form by the user.(User don't input the date and time)
For this I made a hidden form, now I need to know where am i gonna write the php code ( Here I'll have variable that holds the current date and time) and pass it to that hidden form.
GreyHead 04 Jan, 2010
Hi _prakash,

The email will give you the current date and time in the header anyhow.

If you want to add it to the body of the email then you can create a hidden field in your Form HTML and use PHP to set the value either in the Form HTML or in the OnSubmit Before box.

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