It takes some javascript to make Anthony's solution work:
[form1.element( for f in rofields]

disabled fields won't pass form validation without some js code in the 
corresponding view:
    jQuery(document).ready(function() {
        $( "[class|='form']" ).submit(function(){
        $( ".form-control[disabled]" ).prop( "disabled", false );

- (Documentation)
- (Source code)
- (Report Issues)
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to