XModPro

Conditional Validation on Xmod Form

 Brown Brown posted Jul 24, 2014
Active Jul 25 · Viewed 2762 times

Hello all,

I am developing a quote request form for our company's new website in xmod pro.  We have several different types of quotes that people can request, so at the start of the form there is a check box list for customers to select the kind of quote they are interested in receiving.  Based on what they have checked, sections of the form appear using jquery and display: none on the div.  All fields for this form need to be required, except for whatever section(s) are hidden.

I have been banging my head against this problem for weeks without success; all "answers" I have found simply say that xmod does not have this ability, and to use jquery/javascript. There seem to be very few resources out there for suggestions on how to accomplish this, and no working examples to be found anywhere.  I have tried several jquery validation solutions without any kind of success (literally, nothing happens), I'm guessing due to DNN/Xmod forms being asp.net based.  Surely someone has managed to accomplish this before - I would be glad of any working examples or tips on using jquery/javascript to validate an xmod form, or another approach that has been used with success.

Thanks in advance!

3 Replies

Loading replies...