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

Question

Question

Forms removes image tags on save to repository

asked on September 19, 2016

I have <img> tags within a custom HTML object in a form with base64 sources. They are all removed on save to repository. Is it not possible to have your own image tags, they are not referencing any outside material, it is all base64 data.

0 0

Replies

replied on September 19, 2016

Can you check if you have enabled "show submitted form" and "download form" on thank you message settings for the message start event and download the form, whether the image will be kept? I checked with Forms 10.1, there image does kept when save to repository. Please test with a simple form to see whether it works, if it works for a simple form, maybe something specific on your form cause the image not be saved.  If that is the case, please open a support case with the exported process.

0 0
replied on September 20, 2016 Show version history

With show submitted form, even there the image is lost. I did find something really strange. If I set the image value immediately when the form loads it doesn't get lost. Only the images set while the form is being filled out are lost upon submission. They are being set exactly the same way but one is lost and one is kept.

I might need to turn this form into support.

0 0
replied on September 20, 2016

A case was opened for this and the process provided; it is working as expected. The image in question is being set by a custom JavaScript function which upon clicking a button, inserts the value of the src attribute to an empty image tag defined in a custom HTML area. However, when the page is generated, the button is not clicked so this attribute is never populated, hence the generated page does not have a source for the image and it does not display.

0 0
replied on September 20, 2016

Even when the button is clicked, the image is removed. That is my problem. Only values set on form load are sticking, anything set as the user fills out the form is being removed. That has never happened to me before, there is lots of cases where values are set with javascript while the form is being filled out and before it is submitted.

0 0
replied on September 20, 2016

Please work with support for the issue "anything set as the user fills out the form is being removed" to figure out in which case these values are removed.

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

Sign in to reply to this post.