Better PHP integration

Please post your suggestions or any hacks you have made here

Better PHP integration

Postby webx on Wed Jun 13, 2007 8:34 am

I have found that most of the suggestions here on validation lead to Javascript, but the problem is people can turn Javascript off, and most of the time those same people are the people you dont want sniffing around one of these forms.

I have tried to add PHP validation and it works, but it still emails the results anyway, which as you can probably tell, is not a good thing. After all, the whole reason of putting the PHP validation in there to begin with is to potentially stop any attack on my server or cross-site issues that can happen with unguarded variables.

In short, there needs to be another box just for PHP validation code (not in that onsubmit area which is confusing anyway) that executes from the submit button, and if all is ok, then the email gets sent.

In every case of forms I have made to date, this is not the case. The form gets sent eventhough the php validation "dies".

Very dangerous and something that should be fixed asap.
webx
Fresh Boarder
 
Posts: 2
Joined: Wed Jun 13, 2007 1:11 am

Re:Better PHP integration

Postby admin on Wed Jun 13, 2007 4:25 pm

Hello,

I understand, Ok, V 2.1 will have 2 onsubmit codes, 1 before the email event and one after it so you can control this!!

Cheers

Max
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 4283
Joined: Mon Aug 14, 2006 5:29 am


Return to ChronoForms Suggestions & Hacks

Who is online

Users browsing this forum: No registered users and 1 guest