Hi all, we've found something interesting. Generally to format I use the "requires=IS_DATE('%m/%Y')" in the model but if you are using SQLFORM.factory instead of SQLFORM it appears to not format the date for which we had to format the date after the form was created. Thought we'd post here and see if there is a more elegant way to do this function and also for future reference if anyone ever runs into this issue.
form = SQLFORM.factory(db.auth_user, db.investor) for f in db.investor.fields: form.vars[f] = investor[f] if f != 'recent_liquidity_date' else investor. recent_liquidity_date.strftime('%m/%d/%Y') for f in db.auth_user.fields: form.vars[f] = user[f] and we are typing this -- 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/d/optout.