[web2py] Re: conditional fields with jquery and form fields

2015-12-24 Thread Anthony
It's JavaScript, so put it with your JS files and be sure to load it on the page. You'll need to refer to the relevant documentation regarding how to use it. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - htt

[web2py] Re: conditional fields with jquery and form fields

2015-12-24 Thread aetagothno
How do I use that jquery form wizard plugin? I extracted it into my modules folder but it does not work, I also tried extracting it in my static/js -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.co

[web2py] Re: conditional fields with jquery and form fields

2015-12-24 Thread aetagothno
I looked into the form wizard, and this worked great for what I was trying to do. Thank you! On Wednesday, December 23, 2015 at 12:54:01 PM UTC-8, aetag...@gmail.com wrote: > > I have a form that is rather long, therefore I want to split it into > sections. > I am doing this with jQuery conditi

[web2py] Re: conditional fields with jquery and form fields

2015-12-23 Thread Donald McClymont
I guess if you are always wanting to show or hide the next 5 rows of the form then it would be possible to build a less repetitive function that does this and probably possible to make it accept a parameter rather than 5 which might mean it is a bit more flexible. In general the change event in

[web2py] Re: conditional fields with jquery and form fields

2015-12-23 Thread Anthony
A better way would probably be to use an existing form wizard library designed for this purpose. For example: http://www.jquery-steps.com/Examples#advanced-form. Anthony On Wednesday, December 23, 2015 at 3:54:01 PM UTC-5, aetagot...@gmail.com wrote: > > I have a form that is rather long, ther