Aug 22, 2012 at 7:12 PM

This is GREAT!  I got it to work but now I need help with hiding/revealing fields on my form.


Number of Connections:   ==> this is a "choice" column of "One", "Two", "Three"



Country #2:

Location #2:

Country #3:

Location #3:

I need to hide all the country and location entries upon page load and once the user selects number of connections, reveal the respective fields (e.g. upon page load the form only shows name and number of connections, then the user selects "Two" and the "Country", "Location", "Country #2", "Location #2" fields display. 

My several attempts at modifying various Javascript functions either disabled the SPServices.CascadeDropdown functionality or didn't work.   I've googled but strangely I couldn't find anything.  

Any help or points in the right direction would be appreciated.    

Sep 11, 2012 at 1:11 PM

You're trying to do something not covered by SPCascadeDropdowns. It slounds like you have the cascading working right for all of the columns? What you'll need to do is:

  • Hide the Country/Location columns on page load
  • Bind to the change event for the Number of Connections and get the value the user selects
  • Show the appropriate columns based on that number

Sorry for the delayed response, but I was on holiday.