you guys are amazing, made a long code into simplest and shortest one
e.g.
*# 1*
{{=form}}
jQuery(document).ready(function(){
if(jQuery('#check_in_is_booking').prop('checked')){
jQuery('#check_in_booking_no__row').show();
jQuery('#check_in_court__row').hide();
jQuery(
http://web2py.com/books/default/chapter/29/07/forms-and-validators?search=show_if#Conditional-fields
On Thursday, 20 March 2014 17:26:57 UTC-5, Dan Kozlowski wrote:
>
> Is there any way within a grid with 2 list boxes that the selected value
> in the first list box can sub select the the second t
i think you can achieve it using jquery.
ref:
http://web2py.com/books/default/chapter/29/11/jquery-and-ajax#Conditional-fields-in-forms
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.g
3 matches
Mail list logo