Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Custom Validation User Registration View modes: 
User avatar
Member
Member
Scott - 12/6/2009 3:09:49 PM
   
Custom Validation User Registration
I have added a number of custom fields to the User system table and have created a couple of alternate forms for user registration.

I need to do some conditional validation. Basically, I have some fields that are required if a particular checkbox is checked, and they are otherwise optional.

Is there a way to do conditional validation without making a new web part? I'd rather not create new web parts if there is another way.

User avatar
Member
Member
Scott - 12/6/2009 7:29:33 PM
   
RE:Custom Validation User Registration
I ended up making a copy of the Custom Registration Form web part and did my custom validation there.

A nice feature would be an editor for some more complex form validation capabilities, such as having one field depend on another.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 12/7/2009 3:55:18 AM
   
RE:Custom Validation User Registration
Hello,

Thank you for your inspiration for others.

You could also develop a custom form control with all depending checkboxes inside and make the custom validation here. More information about developing custom form controls.

However, you may suggest a new feature here: http://kentico.uservoice.com/

Best regards,
Helena Grulichova