I am new to Joomla and Chronoforms. I've uploaded the HTML code, set up the parameters in forms managements and everything appears to be normal on the webpage, but when I hit submit, I get the following error:
"You are not allowed to access this URL directly, POST array is empty."
Can somebody tell me how to correct this problem?
Thanks
"You are not allowed to access this URL directly, POST array is empty."
Can somebody tell me how to correct this problem?
Thanks
Hi contentman,
That a bit of spam prevention to block robots that hit the form submit url. In your case it's likely that there's a problem with your form code and nothing is being submitted. Is the form on-line?
Bob
That a bit of spam prevention to block robots that hit the form submit url. In your case it's likely that there's a problem with your form code and nothing is being submitted. Is the form on-line?
Bob
The form is not online yet, but here is the HTML code I'm using. I'm new to the development side of things, so bear with me...
<body>
Here's a chance for you enter our online contest and <span style="font-style: italic;">"claim"</span> a prize of your own! <br> <br>Simply fill out the information below, click "submit" and you'll be entered for a chance to win in one of our weekly prize drawings! Be sure to fill out all the required information so we can contact you in case you are the lucky
winner. <br><br><b>Winners will be randomly drawn at the end of each week <span
style="font-style: italic;">(5PM CST)</span>. </b>
<br><br>
<span style="font-family: Trebuchet MS;"></span><br>
Name: <input id="name"> *<br>
<br>
Email: <input id="email"> *<br>
<br>
Address 1: <input id="address1"> *<br>
<br>
Address 2: <input id="address2"> <br>
<br>
City: <input id="city"> *<br>
<br>
State: <input id="state"> *<br>
<br>
Zip: <input id="zip"> *<br>
<br>
Phone: <input id="phone"> * <br>
<br>
Have you filed a claim in the last six months? <br />
<input type="radio" name="size" value="yes">Yes
<input type="radio" name="size" value="no">No
<br><br>
<input type="submit" value="submit">
<br><br>
*<span style="font-style: italic;"> indicates a required
field <br>
<br><br>
<br>
</body>
</html>
<body>
Here's a chance for you enter our online contest and <span style="font-style: italic;">"claim"</span> a prize of your own! <br> <br>Simply fill out the information below, click "submit" and you'll be entered for a chance to win in one of our weekly prize drawings! Be sure to fill out all the required information so we can contact you in case you are the lucky
winner. <br><br><b>Winners will be randomly drawn at the end of each week <span
style="font-style: italic;">(5PM CST)</span>. </b>
<br><br>
<span style="font-family: Trebuchet MS;"></span><br>
Name: <input id="name"> *<br>
<br>
Email: <input id="email"> *<br>
<br>
Address 1: <input id="address1"> *<br>
<br>
Address 2: <input id="address2"> <br>
<br>
City: <input id="city"> *<br>
<br>
State: <input id="state"> *<br>
<br>
Zip: <input id="zip"> *<br>
<br>
Phone: <input id="phone"> * <br>
<br>
Have you filed a claim in the last six months? <br />
<input type="radio" name="size" value="yes">Yes
<input type="radio" name="size" value="no">No
<br><br>
<input type="submit" value="submit">
<br><br>
*<span style="font-style: italic;"> indicates a required
field <br>
<br><br>
<br>
</body>
</html>
Hi contentman,
Two things:
a) you should remove the html and body tags as the code is embedded inside the Joomla page which deals with these.
b) your input tags are missing some vital attributes:
Bob
Two things:
a) you should remove the html and body tags as the code is embedded inside the Joomla page which deals with these.
b) your input tags are missing some vital attributes:
<input type="text" name="name" value="" id="name" />
The id attribute is only really used for identifying the tag in css and javascript.
Bob
Thanks for your help. The only issue I keep running into is that it's not recording all the submitted information. It's only keeping track of the name and email address fields.
Hi contentman,
Check the field names - they must be in quotes, and have no spaces.
Bob
Check the field names - they must be in quotes, and have no spaces.
Bob
Bob -
Still no luck...I've checked the field names and everything seems to be set up correctly. I can see all the data view fields. I'm also not getting the results via email as well and everything appears to be set-up correctly.
Still no luck...I've checked the field names and everything seems to be set up correctly. I can see all the data view fields. I'm also not getting the results via email as well and everything appears to be set-up correctly.
Hi contentman, paste here the code in the Autogenerated tab!
Hi contentman,
Please take a Form Backup in the Forms Manager and post it here or email it to the address in my sig and I'll take a look (may take a little while as I'm very busy right now).
Bob
Please take a Form Backup in the Forms Manager and post it here or email it to the address in my sig and I'll take a look (may take a little while as I'm very busy right now).
Bob
Here's a chance for you enter our online contest and <span style="font-style: italic;">"claim"</span> a prize of your own! <br> <br>Simply fill out the information below, click "submit" and you'll be entered for a chance to win in one of our weekly prize drawings! Be sure to fill out all the required information so we can contact you in case you are the lucky
winner. <br><br><b>Winners will be randomly drawn at the end of each week <span
style="font-style: italic;">(5PM CST)</span>. </b>
<br><br>
<span style="font-family: Trebuchet MS;"></span><br>
Name:<br>
<input type="text"name="name"value=""id="name"><br>
<br>
Email:<br>
<input type="text"name="email"value=""id="email"><br>
<br>
Address 1:<br>
<input type="text"name="address1"value=""id="address1"><br><br>
Address 2:<br>
<input type="text"name="address2"value=""id="address2"><br>
<br>
City:<br>
<input type="text"name="city"value=""id="city"><br>
<br>
State:<br>
<input type="text"name="state"value=""id="state"><br>
<br>
Zip:<br>
<input type="text"name="zip"value=""id="zip"><br>
<br>
Phone:<br>
<input type="text"name="phone"value=""id="phone"><br>
<br>
Have you filed a claim in the last six months? <br />
<input type="radio"name="size"value="yes">Yes
<input type="radio"name="size"value="no">No
<br><br>
<input type="submit" name="submit"value="Submit">
<br>
<br><br>
<br><br>Post edited by: GreyHead, at: 2008/04/03 18:18
H contentman.
That appears to work perfectly.
Now please take a Form Backup using the icon in the Forms Manager and post it here or email it to the address in my sig and I'll take a look (may take a little while as I'm very busy right now).
Bob
That appears to work perfectly.
Now please take a Form Backup using the icon in the Forms Manager and post it here or email it to the address in my sig and I'll take a look (may take a little while as I'm very busy right now).
Bob
Bob -
Here is the form backup...thanks for your help
Here is the form backup...thanks for your help
Hi contentman,
No attachment (the forum is sometimes temperamental about attachments) - I haven't seen an email eitehr so please re-send one way or the other.
Bob
No attachment (the forum is sometimes temperamental about attachments) - I haven't seen an email eitehr so please re-send one way or the other.
Bob
i am getting the same issues when i enable a mod called
SmartSEF URL Rewriter
A Joomlatwork.com component.
are there any tricks to using both these mods together?
SmartSEF URL Rewriter
A Joomlatwork.com component.
are there any tricks to using both these mods together?
Hi tobyt,
I have never tried this SEF component, but, if it has some where to edit the generated SEF URLS like other components then you can go there and assure that the non SEF link doesn't contain "&task=send".
Let me know if this issue is solved🙂
Regards,
Max
I have never tried this SEF component, but, if it has some where to edit the generated SEF URLS like other components then you can go there and assure that the non SEF link doesn't contain "&task=send".
Let me know if this issue is solved🙂
Regards,
Max
This topic is locked and no more replies can be posted.