Validating a field with info in other fields

13 years 7 months ago #141819 by nanoingegnere
Validating a field with info in other fields was created by nanoingegnere
Hi to all,

first of all, I apologize if I'm asking for a solution which has been already provided in another topic, I swear that I have spent 2 hours searching for it, but found nothing :)

I have the following problem:

in the registration form I have to insert a custom field (no problem here, it is a native feature). However this field need a custom validation, based on what is included in other fields. In fact this field can be obtained via an algorithm based on "First Name", "Last Name" and other fields values. I have a JS script which validate this field but i don't know how to apply it to the CB registration form.

Is there a native CB plugin/component which can help me in doing this ?? If yes, where can i find it ?

Otherwise, how can I add this validation to the standard CB registration form ??

Thanks in advance for you kind support.

Best Regards
Alessio D'Achille

Please Log in to join the conversation.

13 years 7 months ago #141871 by krileon
You'd need to develop a custom plugin to handle this that utilizes CB triggers. Would be quite a complex plugin and would require a page reload before validation could kick in (unless you use JS to do inline validation). Please see tutorials within signature for further information on trigger usage. There is no easy way to accomplish this that I am aware of.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 6 months ago #143691 by nanoingegnere
Replied by nanoingegnere on topic Re:Validating a field with info in other fields
Thanks a lot for your suggestion. I'm trying to develop this plugin on my own; I hope that I could ask here if I need some help during this task :)

Thanks in advance

Best Regards
Alessio D'Achille

Please Log in to join the conversation.

13 years 6 months ago #143854 by krileon

I hope that I could ask here if I need some help during this task

To an extent, certainly. Please keep in mind we don't assist with custom development though and are not a consultation site. We can help vaguely as time permits, but best approach is to review the many many existing plugins.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.204 seconds

Facebook Twitter LinkedIn