We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following #1342.
Say I want to show a date as part of the label, with "Quantity as of {$date}".
Right now, using "Control Value" shows "Quantity as of Tue Oct 02 17:00:00 PDT 2018", because the date doesn't use the appropriate formatting.
I can work around this with a very complicated formula:
format-date(array:get(fr:control-typed-value('date'), 1), '[MNn] [D], [Y]', 'en', (), ())
or:
format-date(xs:date(fr:control-string-value('date')), '[MNn] [D], [Y]', 'en', (), ())
We should:
For variables, $foo should translate to:
$foo
let $array := fr:control-typed-value('foo', false()) return for $i in (1 to array:size($array)) return array:get($array, $i)
With this, we could do a custom formatting with:
format-date($date, '[MNn] [D], [Y]', 'en', (), ())
Even better, in the big picture, would be to have a custom formatting feature for the parameter in the Form Builder UI.
The text was updated successfully, but these errors were encountered:
min
max
ebruchez
No branches or pull requests
Following #1342.
Say I want to show a date as part of the label, with "Quantity as of {$date}".
Right now, using "Control Value" shows "Quantity as of Tue Oct 02 17:00:00 PDT 2018", because the date doesn't use the appropriate formatting.
I can work around this with a very complicated formula:
or:
We should:
For variables,
$foo
should translate to:With this, we could do a custom formatting with:
Even better, in the big picture, would be to have a custom formatting feature for the parameter in the Form Builder UI.
The text was updated successfully, but these errors were encountered: