Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
No where in the substitution tutorial does it say you can do this. When using [cb:userfield field="FIELD_NAME" /] for a date or datetime field it will output in whatever format is configured in the field it self. You can not reformat it from a substitution.Code of the article : Mode de paiement : [cb:userfield field="cb_date_paiement" format="d/m/Y" /]
Display : Mode de paiement : [cb:userfield field="cb_date_paiement" format="d/m/Y" /]
which means my way of doing thing is obviously not working.
Please Log in or Create an account to join the conversation.
krileon wrote:
No where in the substitution tutorial does it say you can do this. When using [cb:userfield field="FIELD_NAME" /] for a date or datetime field it will output in whatever format is configured in the field it self. You can not reformat it from a substitution.Code of the article : Mode de paiement : [cb:userfield field="cb_date_paiement" format="d/m/Y" /]
Display : Mode de paiement : [cb:userfield field="cb_date_paiement" format="d/m/Y" /]
which means my way of doing thing is obviously not working.
Please Log in or Create an account to join the conversation.
For userfield substitutions the fields access is respected. This means the field needs to be set to display on profile and be on an accessible tab. If you don't actually want it visible on profile then move the tab to a not shown on profile position so the substitution can still display the fields on that tab.Unfortunately, what you're recommanding [cb:userfield field="cb_date_paiement" /] displays nothing (blank output).
Please Log in or Create an account to join the conversation.