Home › Forums › Community Forum › Registering without required fields…
This topic contains 5 replies, has 4 voices. Last updated by Epix Media 4 years, 8 months ago.
| Topic Author | Topic |
|---|---|
| Posted: Monday Apr 9th, 2012 at 6:26 am #10353 | |
|
|
|
|
Hi all, Since customising the administrators registration notification email I’ve noticed that people are able to register without entering all of the required custom fields… The form is here http://www.ispa.org.uk/members/join/ Andy idea’s how this is happening? Cheers :) |
|
List Of Topic Replies
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Monday Apr 9th, 2012 at 1:12 pm #10362 | |
|
|
|
|
I’m assuming your in the > General Options > Registration/Profile Fields & Options When creating or Editing Registration/Profile Field, the 5th option down, Field Required: * is where I use this feature your speaking of. Hope this helps. |
|
| Posted: Monday Apr 9th, 2012 at 5:27 pm #10384 | |
![]() |
|
|
Hi Zoe, The form validation is handled with JavaScript, so if the validation suddenly stopped working I would look into what might be preventing the s2Member JavaScript from working/loading properly. If you disable/undo the admin notification customization, does the validation start working again? |
|
| Posted: Tuesday Apr 10th, 2012 at 8:06 am #10451 | |
|
|
|
|
Hi Raam, the JS validation is working – they must be getting around it by switching off JS! Is there anyway I can add PHP validation for my custom fields without intefering with s2 updates? They seem to be getting a handful of spam submissions a week (must be bothering to fill in the captcha though!?) and the clients going to get tired of them pretty quick! Cheers |
|
| Posted: Friday Apr 13th, 2012 at 1:20 am #10707 | |
![]() |
|
|
Thanks for the heads up on this request for support. Everything in a Pro Form is validated extensively both client-side and server-side, except for Custom Registration/Profile Fields implemented by a site owner. These are handled via JavaScript only. The validation of a Custom Registration/Profile Field, is based entirely on the way it’s configured by the site owner whenever they create a Custom Registration/Profile Field in the Dashboard. For example, a site owner can choose to require numerics only, or a specific number of characters, an email address, phone number, etc, etc.. Many options are available under: General Options -> Custom Registration/Profile Fields. However, the routine within s2Member’s source code, which handles the required validation scan (i.e. based on the field’s configuration by the site owner), was written in JavaScript only, and is not yet implemented server-side. Therefore, it IS still possible for a customer to bypass certain Custom Registration/Profile Field requirements, if they bypass JavaScript. Not a common issue, but possible in cases where hackers are actually trying to bypass them, or possible on a site that’s hosting Pro Forms, which is broken in some way (e.g. JavaScript errors in other areas of the site, which might prevent s2Member Pro Forms from working as expected). Again, not a common issue, but possible. This will be corrected in a future release, because the validation routines are being written in PHP as well, and they’ll be integrated into the PHP form handler on the server-side too. In the mean time, a site owner could implement their own validation routines on the server-side if they’d like. Here’s a hack file example, for PayPal Pro Forms:
Here’s another example for Authorize.Net Pro Forms.
|
|
| Posted: Monday Apr 16th, 2012 at 8:41 am #10883 | |
|
|
|
|
Thanks Jason :) |
|
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy

