HTML in google forms

0

Is it possible to add HTML to google forms? my intention is to place a widget given the following code

<!-- WhatsHelp.io widget -->
<script type="text/javascript">
    (function () {
        var options = {
            facebook: "997269893725074", // Facebook page ID
            whatsapp: "+595984439000", // WhatsApp number
            telegram: "+595984439000", // Telegram bot username
            email: "[email protected]", // Email
            sms: "+595984439000", // Sms phone number
            call: "+595984439000", // Call phone number
            company_logo_url: "//scontent.xx.fbcdn.net/v/t1.0-1/p50x50/14051735_1021405514644845_2020736532428360264_n.jpg?oh=7c1ae61d74a5a12cc7fb164bd3ce111a&oe=59DECFA7", // URL of company logo (png, jpg, gif)
            greeting_message: "Consulta AQUI !", // Text of greeting message
            call_to_action: "Consulta AQUI !", // Call to action
            button_color: "#129BF4", // Color of button
            position: "right", // Position may be 'right' or 'left'
            order: "facebook,whatsapp,telegram,sms,call,email" // Order of buttons
        };
        var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host;
        var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
        s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
        var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
    })();
</script>
<!-- /WhatsHelp.io widget -->

a widget to the form given the following code

<!-- WhatsHelp.io widget -->
<script type="text/javascript">
    (function () {
        var options = {
            facebook: "997269893725074", // Facebook page ID
            whatsapp: "+595984439000", // WhatsApp number
            telegram: "+595984439000", // Telegram bot username
            email: "[email protected]", // Email
            sms: "+595984439000", // Sms phone number
            call: "+595984439000", // Call phone number
            company_logo_url: "//scontent.xx.fbcdn.net/v/t1.0-1/p50x50/14051735_1021405514644845_2020736532428360264_n.jpg?oh=7c1ae61d74a5a12cc7fb164bd3ce111a&oe=59DECFA7", // URL of company logo (png, jpg, gif)
            greeting_message: "Consulta AQUI !", // Text of greeting message
            call_to_action: "Consulta AQUI !", // Call to action
            button_color: "#129BF4", // Color of button
            position: "right", // Position may be 'right' or 'left'
            order: "facebook,whatsapp,telegram,sms,call,email" // Order of buttons
        };
        var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host;
        var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
        s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
        var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
    })();
</script>
<!-- /WhatsHelp.io widget -->
    
asked by Bubblegum Crisis 01.11.2017 в 20:26
source

1 answer

1

Unfortunately it is not possible to edit the html code of a Google Form , you can manipulate the data of the responses sent using The Google Forms API or the Google Spreadsheet (of course, if you save the responses of the form in a spreadsheet). However, the html code as such can not be manipulated.

One option you can choose is to create a Google App and do your Form from scratch, attach the fields and the javascript code that you want (such as widget you want to insert) using HTMLService .

    
answered by 01.11.2017 / 20:46
source