You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Default field values do not display in Rich Text field or HTML Fields

posted on April 20, 2020

I have a Rich Text and HTML Field that both contain a Currency Token field in their body. The Currency field has a Default value of 1000.

When the form is started the Default Values are not populated into the HMTL or Rich Text fields. It only works if I enter a value into the field as part of the Forms process, and then the next Form with an HTML Field or Rich Text field will use that value.

Is there anyway to have the Custom HTML or Rich Text fields accept a token with a default value at Form start?

0 0
replied on April 20, 2020

I don't believe so. The value of that token will be empty on form load so it won't display anything, regardless of the default value. You could use some JS for document on ready and token field on change to copy the value over.

0 0
replied on April 20, 2020

I don't think that will work as the Fields will have already been generated before the JS runs. 

0 0
replied on April 20, 2020

In the past the only way I've been able to make this work is build the entire string in JS and then append it to the HTML field, but in this case that would be really cumbersone

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.