how come this code doesn't update the text to upper()?  thanx in advance, 
lucas

def xyz():
    #stuff
    if cidi:
        form = crud.update(tCt, cidi, onvalidation=county_check)
    else:
        form = crud.create(tCt, onvalidation=county_check)
    if form and form.process().accepted:
        session.flash = "Success"
        redirect(URL(f="counties"))
    return dict(form)

def county_check(form):
    form.vars.county = form.vars.county.upper().strip()
    form.vars.circuit = form.vars.circuit.upper().strip()

-- 

--- 
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