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

Question

Question

forms modern designer how to import external css file

asked on January 27

I've been able to do this with the classic designer with jquery, but with the modern designer it does not seem to work. Below is the js i've used in modern designer, can anyone provide input as to why it isn't working?

 

document.querySelector('head').append('<link rel="stylesheet" href="file path from classic designer" type="text/css"/>');

0 0

Replies

replied on March 20

Modern Designer is sandboxed, so it cannot access anything external to the form. I believe to get this working you'd have to include it by modifying one of the Forms template files on the Forms server, which would include it for all (Modern Designer?) forms.

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

Sign in to reply to this post.