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

Question

Question

Can a custom html field be set to always bring in text from a word document saved somewhere else?

asked on December 13, 2021

On our Health & Safety Toolbox Meeting form, our H&S Officer changes an html field every month by typing in notes on last month's incidents.

We have just discovered that his typed incidents change on the first submission form, but the old notes stay showing on the next stages throughout approval and CAO signing off.

One way I was wondering if this could be resolved would be by programming the custom html to populate by pulling in whatever is typed on a word document saved on our website or somewhere like that?

Or is there another solution?

0 0

Replies

replied on December 13, 2021

My first two options would be:

  1. Use an iframe in the CustomHTML pointed at a simple HTML file/page, PDF, or something like that, hosted on your public site (we do this a lot with content that is shared between multiple pages/forms, and/or edited frequently).
  2. Store the text in a database and pull it in with a lookup (you can't populate customHTML, but you can populate a multiline either with raw HTML to transfer on lookup complete, or with just the text in the field and custom CSS to style it accordingly).
1 0
replied on December 13, 2021

Thanks, Jason.  I'm checking in with someone here to see which way they want to go.

  1. The first solution is simpler, but I’m not familiar with how to set it up. 
    1. Checking to see if someone here knows how to do this.
    2. This option would still require someone to update a page somewhere.
  2. The second solution is doable, but I need to talk to the H&S Officer to see if he wants to go this way. 
    1. I could have one stage of the incident report form push some detail into a hidden db to be pulled into this toolbox meeting form.  Not sure how I'll tell it to look up only one months' worth, but I'm sure it can be done.
    2. This option would mean no one would ever have to update the toolbox meeting form each month with these statistics.  The lookup would do it for them on every stage of the form.
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.