latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Registration Form Custom Field Problems

Home Forums Community Forum Registration Form Custom Field Problems

This topic contains 4 replies, has 3 voices. Last updated by  Cristián Lávaque 3 years, 6 months ago.

Topic Author Topic
Posted: Saturday Jun 29th, 2013 at 2:02 pm #52805

I have added a custom field with alphanumeric characters as input. However there are two issues here.

1) It allows submission even when all characters are only numeric. It should trigger a form submission error but it does not.

2) I do not want the input to be given away in the submission error popup. Meaning it should not say that input should contain “exactly 15 alphanumeric characters”. How do I change this?

List Of Topic Replies

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Monday Jul 1st, 2013 at 11:49 am #52837

Hello,

Will anyone reply to my concern out here?

Posted: Tuesday Jul 2nd, 2013 at 2:44 am #52856
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

And thank you for your patience over the weekend.

1) It allows submission even when all characters are only numeric. It should trigger a form submission error but it does not.

Setting your field to alphanumeric will only allow both numbers and letters to be input into the field, not force a User to input both.

2) I do not want the input to be given away in the submission error popup. Meaning it should not say that input should contain “exactly 15 alphanumeric characters”. How do I change this?

It sounds to me like you’re looking for specific functionality out of s2Member, which I’m afraid is just not possible without custom coding.

s2Member sets the field checks and error messages in this file:

/s2member/includes/s2member-min.js which is a minified version of /s2member/includes/s2member.js. You will need to edit this file (or have it edited by a developer) to achieve what you’re looking for.

If you’re unable to perform these customizations yourself, we recommend posting a job listing on sites like http://jobs.wordpress.net/, http://odesk.com/, and http://elance.com/.

Let us know if you have any further questions about this. :-)

Posted: Tuesday Jul 2nd, 2013 at 1:08 pm #52905

Ok I was able to edit the file and insert a custom error message. Thanks.

Posted: Tuesday Jul 2nd, 2013 at 10:44 pm #52926

Great. Thanks for the update. :)

Viewing 4 replies - 1 through 4 (of 4 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.