BarryGulino
6 years agoQrew Cadet
Embedded web pages in a form using a formula rich text field.
I am working on a form that will use formula rich text format to display web pages on various tabs in the form. The web pages would be specific to the data in the first tab. For example if the data in the first tab has an address, the web page would have the address in the url. This would save time for the user as they would not have to navigate to the web pages they could just click the tab to get the information. It has worked well on most of the pages, but I am getting blanks or errors. Some are fixed by changing the formula from "http:" to "https: but some I just cannot figure out. I think it may be a web page that cannot be opened in a frame. This is the formula I am using:
"<img data-url='" & [formula url]& "'" &
" src onerror='\n(async () => {\n var url = this.dataset.url;\n this.outerHTML = '<iframe src=${url} width=1150px height=600px></iframe>';\n})();\n'>"
Does anyone have a solution?
"<img data-url='" & [formula url]& "'" &
" src onerror='\n(async () => {\n var url = this.dataset.url;\n this.outerHTML = '<iframe src=${url} width=1150px height=600px></iframe>';\n})();\n'>"
Does anyone have a solution?