- jeansilva25841512Asked on August 05, 2014 at 07:31 PM
Gostaria de fazer uma sugestão de ferramenta que seria muito importante a todos os usuários JotForm.
Tornar possível colocar um botão imprimir na página "mensagem de agradecimento" conforme imagem em anexo.
Já tentei como faço em meus sites e dá certo, implementando no código fonte ("<a target="_blank" href="#" onclick="window.print(); return false;">Imprimir</a>") mas não da certo aqui.
Desde já agradeço a costumeira atenção
- JotForm SupportjonathanAnswered on August 05, 2014 at 11:43 PM
Thank you for your suggestion.
You are correct that the Print button is not available in the custom Thank You Message of the form after submission.
You cannot add the script code you suggested in the Thank You Message due to security reason disallowing it.
All scripts that will be added in the Thank You message of the form will be removed.
BUT the workaround for this is to add the Print button script code instead in your own website page where the form was embedded.
So basically, the custom Thank You Message should be within the same iframe or page so that when the Print button is used, it will be able to print the Thank you message of the form as well.
Inform us if you have further question on this.
- jeansilva25841512Answered on August 06, 2014 at 01:48 PM
Entendo que não pode fazer por segurança.
Mas seria disponibilizar ferramenta para colocar o "Botão imprimir" como já ocorre nos formulários.
Ver imagem abaixo.
- KadeJMAnswered on August 06, 2014 at 03:56 PM
As far as I know of what my colleague has stated here is true so the only workaround is via the script as he mentioned.
However, I do understand what you mean by that as a demand for it so I have forwarded this to our developers as a feature request on your behalf. Please note that they will have the final say as to if this would be considered or not and we will update you as soon as we can to let you know.
- iparkingAnswered on August 12, 2015 at 06:12 AM
Has this been fixed yet? it is vital for many people forms.
- JotForm SupportKiranAnswered on August 12, 2015 at 08:53 AM
I see that there is another thread opened by you separately on this issue. Please be noted that it is not required to post on multiple threads for the same question. Since the issue is already been forwarded to our backend team, they'll be looking into it and implemented based on priority. If there are any updates in this regard, you'll be posted through this thread.