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

Question

Question

Forms modern designer - custom html not working

asked on September 26, 2024

Hello, I am trying to use HTML custom fields in the LF Forms Modern designer to create a button that will call a JS function.

I think I get it probably wrong, but I am not able to have the button displayed, it would only display the HTML code. I also tried to create a hyperlink instead, but same problem, all that is displayed is the html code.

Any idea what may be wrong here ?

Capture d’écran 2024-09-26 120447.png
Capture d’écran 2024-09-26 120707.png
0 0

Answer

SELECTED ANSWER
replied on September 26, 2024

It looks like you're entering the code into the rich text editor portion of the field, not in "code view".

Click this button:

Then enter your code, and it should work for you! :)

 

2 0

Replies

replied on September 26, 2024

You're putting it into the text editor view of the field.  You need to click the button that looks like this:   </>   in order to switch to the code view.

2 0
replied on September 26, 2024

You're absolutely right, it works now. Sorry I have taken your time with this, I am quite new to the modern designer...

0 0
replied on September 26, 2024

No problem at all! Glad you got it working :)

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

Sign in to reply to this post.