-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have table with a "subject" field, with default value specified in model.

Now I would like to generate forms to add and update records.
In the forms the default value specified in the model has to be
overriden on certain conditions.

I tried these:

form.vars.subject = "another default value"

form.custom.dspval.subject = "another default value"

form.custom.inpval.subject = "another default value"

But none of them works, still there are model default values filled in
the form fields.

Please, could you help?

Thanks in advance..

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpOSuIACgkQ3oCkkciamVGjGACeNxJre32E0Kg60BDZCSC3LG1E
gL0An2cy1fws0OaHvhaIkBrnNN5WgYSZ
=zZus
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to