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.

Add custom "Expected format"

Home Forums Community Forum Add custom "Expected format"

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

Topic Author Topic
Posted: Sunday Apr 21st, 2013 at 1:20 pm #48043

Hello

I’ve bought the pro S2member. I need to add a custom “expected format” for my own profil field.
Ex : maximum 6 numeric digits.
Have you a solution already done ?

Thank youuuuuuuuuuuuuu very much :)

JC

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Monday Apr 22nd, 2013 at 6:21 am #48077

You mean you created the custom profile field and want to add a description that says that? Have you tried using the “Field Label/Desc”? [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

Posted: Monday Apr 22nd, 2013 at 4:12 pm #48106

Hello Cristián,

thanks for your answer.
My question is
1) I’ve created a custom profil field.
2) I’ve set a lable
but…
3) I want to customize the regex for the validation control.

You propose some kinds of validations, for example, “3 numeric digits min” but I woud like “3 numeric digits maximum”

Then, how can I do ?

Thanks a lot !

JC

Posted: Tuesday Apr 23rd, 2013 at 7:32 am #48172

Ah, I understand now. Well, it’s not possible from the interface, but you could create a customization for it. Here are a some links that’ll help:

http://www.s2member.com/forums/topic/verify-terms-and-conditions-on-server-side/#post-35646
http://www.s2member.com/forums/topic/registering-without-required-fields/#post-10707

Knowledge Base » Hacking s2Member® Via Hooks/Filters

Posted: Tuesday Apr 23rd, 2013 at 7:56 am #48176

Hello Christian,

thanks. I’ll visit your links.

Merci beaucoup :)

Posted: Tuesday Apr 23rd, 2013 at 8:40 am #48185

De rien. :)

Viewing 5 replies - 1 through 5 (of 5 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.