Assuming [condition] is evaluated dynamically as the code runs
through SQLFORM.factory
definition, yes, this part will do it.
Field('primary_email_choice', ..., default='Home' if [condition] else
'Work')But I need custom formatting. Formatting directly in HTML is easier.

