Hello,
I've been adding a randomly generated token to my forms that is put into the session as $_SESSION['token'] and then compared with a hidden form field copy of it as $_POST['token'] at the...
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Type: Posts; User: Maverick
Hello,
I've been adding a randomly generated token to my forms that is put into the session as $_SESSION['token'] and then compared with a hidden form field copy of it as $_POST['token'] at the...
Hello again,
I have a form that allows users to dynamically add more fields via javascript. I am using an fmhookpreemail.inc file to process the data and enter it into my database. I've been...
I believe anete fixed it so that the both the firmbooking and quote radio buttons had the name set as "firmbooking".
The same as your example but with "firmbooking" instead of "inquirytype".
It's a bit confusing to follow.
Is the code you supplied supposed to be what works for the radio buttons when they have the same name?
If so there would be no need to have the $quote part. The...
Can you clarify what you mean by "printing the value"?
Where is it not appearing correctly for you? In the results email?
And you are using $firmbooking in the email template?
Fantastic!
Thanks crabtree, that's just the sort of solution I was looking for. :cool:
Can we add or define custom variables to the email template? (Not using hidden form fields)
For example, if I use fmhookpreemail.inc and create a variable is there a way to output this variable in...
Could you supply the code for your radio buttons?
For example:
<table width="100%" border="0" cellpadding="0" cellspacing="6">
<tr>
<td width="16%">Primary Applicant:</td>
...
Disregard... the fabulous thread view options have duped me again..
Ok thanks for clarifying Russel.
It did seem a bit redundant however since i read that the setting was mandatory i have always set both.
I'm having the same result. A simple 1 text field form asking for an email address with the recipients defined in the ini file.
I can send email to any address and i can even leave TARGET_EMAIL as...
Hi,
Thanks for the reply.
Yes I'd have to agree, i guess it was just some hiccup because i haven't heard a peep since.
I just recieved this error today for the first time on a form that has been running fine for a while.
The following error occurred in FormMail :
Socket error 0: Cannot resolve host name...
Hello,
I managed to figure it out.
I just made my 'submit another request' link a form submit button that had the fields i wanted as hidden fields and my original form as the action.
Then on...
I would like to add a link to my good_template that would allow the user to go back and fill out the form again - 'submit another request'
I would like to repopulate certain fields, like their...
Hello,
I can't seem to get the 'template_list_sep' to work with adding in a space after the comma.
If i put in:
<input type="hidden" name="template_list_sep" value=", " />I get an 'Â '...
Hello,
I've added a bit of code that turns empty or invalid form fields red. I have to leave the "action" of the form blank for this to work.
Is there a way i can submit the form results to the...
I recompiled apache again. It must have missed something when the tech guy did it. Perhaps CurlSSL or Curl?
Anyways it appears to be working again!
Thanks
Unfortunately i don't have the same problem. My forms were all working before i upgraded php to 5 from 4.
Should i hijack this thread or build another?
Hello, I am getting a similar error. I'm not sure what is causing it. I just upgraded my server's PHP version to 5.2.4 from 4.4.4 and now the return links aren't working on some of my sites forms...
I'm not sure what to tell you, your hosting either doesn't support php or is blocking the test. I'm sure that type of free hosting has some harsh restrictions.
Good luck
Create a file called test.php with only the following in the source and upload it and let me know when it's there.
<?php
phpinfo();
?>
Hello,
I couldn't find your form to start with.
<!-- STEP 2: Put your email address in the 'recipients' value.
Note that you also have to allow this email address in the
$TARGET_EMAIL...
Russel just informed me that the solution to this is to set PUT_DATA_IN_URL to false.
I'm thinking that this being set as false at default might be the best idea? Of course that's if there are no...
Actually it can also be the fields in the form page being too long as well.