If XForms hanles select/options it must be possible to send the options. no?
On Jul 1, 10:28 am, Fran <[email protected]> wrote: > Whilst most stuff seems starightforward, the harder cases are things > like: > > db.budget_item.code.requires = IS_NOT_IN_DB(db, 'budget_item.code') > Obviously if working offline then this referencedata isn't available > - I guess we just have to ignore that within the XForm itself & handle > it during form submission. > > db.Field('created_on', 'datetime', readable=False, writable=False, > default=request.now) > The Hidden field part is straightfwd (just don't provide a Control) > But the default value doesn't make sense to be within the form > definition as it makes sense at submission time per-instance not as a > default when form is downloaded to device! (Same goes for uuid) > datetime may need some tweaking - this is available: <bind > nodeset="created-on" type="date" /> > > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

