Thanks Richard.  

Here's some simplified code to hopefully clarify what I'm trying to do:

<Model>
db.define_table('record, Field('hidden_field'), Field('non_hidden_fields'))

<Controller>
def index():
    grid = SQLFORM.grid(db.record, onvalidate=validate_form)

def validate_form(form):
    Check to values in non-hidden fields, do a fairly complex lookup, if a 
record is found
    in the lookup tables, stick the value in the "hidden_field", otherwise 
add a record in 
    the lookup table and put the ID of the newly created record in the 
"hidden_field"

*And do all of the above with "hidden_field" never appearing to the user*, 
yet still being able to be modified in the validate_form fx.

I will do your Javascript hide approach if there's no other way to make 
this happen.   I just assume I was overlooking something....

Many thank,
Marty


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