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

Question

Question

Trying to update inserted variables in a Laserfiche Forms rich text field

asked on July 20, 2020 Show version history

I have a rich text field (RTF) with a default value that includes multiple formatted paragraphs along with inserted variables embedded in the paragraph text.  The inserted variables are associated with single line edit (SLE) fields on the same form.  Ideally, I would like to update the RTF field with the current variable values when the corresponding SLE fields are changed.

Is there a way to accomplish this using CSS/JavaScript in Laserfiche Forms?

0 0

Answer

SELECTED ANSWER
replied on July 20, 2020

Hi Brandon,

Does it need to be a rich text field? It sounds like a custom HTML element would work better. With that you can set some inline elements and then update them when the fields are filled.

0 0
replied on July 20, 2020

Thanks Jim. I will try your suggestion of using the Custom HTML field instead.  I'm sure it will work better.  Found these related articles.

https://answers.laserfiche.com/questions/173809/How-to-add-variable-to-custom-HTML#173847

 

https://answers.laserfiche.com/questions/158169/Insert-Variables-in-Custom-HTML#158190

1 0

Replies

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

Sign in to reply to this post.