Hi,

You can use the car appliance available in web2py appliances (github) to 
show this issue 
(https://github.com/mdipierro/web2py-appliances/tree/master/CarSales).

*In Controller, add a function as :-*
def testform():
    form = SQLFORM.factory(
    Field('TestField', requires=IS_IN_SET(['Test Subfield1 to be 
selected','Test Subfield1 to be selected'],zero=T('Select 
Subfield'),error_message='Select Subfield')))
    if form.process().accepted:
        response.flash = 'Thanks for the feedback'
    elif form.errors:
        response.flash = 'Error submitting feedback'
    return dict(form=form)  
*
Views (testform.html)*
{{extend 'layout.html'}}
{{=form}}

*Results:*

Firefox :



Internet Explorer :



Can some one please explain, why is this behavior and how can this be 
fixed. I tried adding the below statement to controller, but it didn't 
fixed the problem. Also, I have tried playing with the css without any 
success :(

form.element('select[name=TestField]')['_style']='width400px'

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (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 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to