I'm attempting to use Bracket notation to pull a specific selected form value into the Thank You message that is displayed after the form is submitted.
While I can't find any active documentation for the Umbraco Forms v4.4.2 that describes how this works - I have seen older posts where it's indicated that this should work.
As I understand it, you need to place the name of the answer, without any spaces, between curly brackets {}.
In my case, I have a field (Dropdown, using Document Type Data Source) named "Other Forces"
I've tried to set the thank you message to : "blah blah: {OtherForces}", which outputs
"blah blah:"
as well as "blah blah : {Other Forces}"
which outputs
"blah blah: {Other Forces}"
Which indicates that it is attempting to replace the value when it's set to field name without any spaces : {OtherForces}
Can anyone tell me what I'm doing wrong here? Or, is this something that's been removed from newer versions of Umbraco Forms ?
Hmm, ran into this as well. When having a look at the FormViewModel using dotPeek, in the Build(Form form) the MessageOnSubmit is populated with the placeholders from the HttpContext but the Record values are omitted.
Unfortunately, executing (a modified version of) ParsePlaceHolders again is not possible, as the placeholders are removed in ParsePlaceHolders in the Build(Form form) method...
Please vote for this issue here http://issues.umbraco.org/issue/CON-1308
Bracket Notation for Submit Message
Hi All
I'm attempting to use Bracket notation to pull a specific selected form value into the Thank You message that is displayed after the form is submitted.
While I can't find any active documentation for the Umbraco Forms v4.4.2 that describes how this works - I have seen older posts where it's indicated that this should work.
As I understand it, you need to place the name of the answer, without any spaces, between curly brackets {}.
In my case, I have a field (Dropdown, using Document Type Data Source) named "Other Forces"
I've tried to set the thank you message to : "blah blah: {OtherForces}", which outputs "blah blah:" as well as "blah blah : {Other Forces}" which outputs "blah blah: {Other Forces}"
Which indicates that it is attempting to replace the value when it's set to field name without any spaces : {OtherForces}
Can anyone tell me what I'm doing wrong here? Or, is this something that's been removed from newer versions of Umbraco Forms ?
thanks, Dave
Same problem. Bracket notation doesn't work also for me.
Also having the same issue.
Hi Guys
An issue has been raised on Youtrack for this : http://issues.umbraco.org/issue/CON-1308
Waiting for further info on when a fix will be applied.
Dave
Probably a silly question but have you tried all lower case and no space e.g. "blah blah: {otherforces}"?
Hmm, ran into this as well. When having a look at the FormViewModel using dotPeek, in the Build(Form form) the MessageOnSubmit is populated with the placeholders from the HttpContext but the Record values are omitted.
Unfortunately, executing (a modified version of) ParsePlaceHolders again is not possible, as the placeholders are removed in ParsePlaceHolders in the Build(Form form) method... Please vote for this issue here http://issues.umbraco.org/issue/CON-1308
is working on a reply...