wilsea Posted January 11, 2014 Share Posted January 11, 2014 Is there any simple way in ProcessWire to have the contents of one input field vary depending on the choice made in the first input field. For example, if the user selected farm in field A, then field B choices would be horses, cows and sheep, but if the user selected fruit in field A, then field B choices would be apples, oranges and pears. I know it could be done with javascript and ajax, but I'm wondering if there's another other way, maybe some code in one of the form fields. The video at http://processwire.com/api/selectors/inputfield-dependencies/#examples looks really nice, but I can't find the show-if and require-if options shown in the video in my recently downloaded copy. I guess those options are in the latest development version, but I always seem to end up with the latest stable version. After tearing my hair out with WordPress, Drupal, I'm finding ProcessWire such a joy to use that I'm getting more and more ambitious in what I want to do.(and in a fraction of the time ). Link to comment Share on other sites More sharing options...
apeisa Posted January 11, 2014 Share Posted January 11, 2014 Here you can find latest dev: https://github.com/ryancramerdesign/ProcessWire/archive/dev.zip Link to comment Share on other sites More sharing options...
wilsea Posted January 11, 2014 Author Share Posted January 11, 2014 Thanks a million apeisa. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now