Is there a way to edit css of new google forms?

末鹿安然 提交于 2019-12-03 07:30:07

Yes, you can easily make the <form> work by following these steps.

  1. Create a Google Form.
  2. Get the link and open the form in a new tab.
  3. Create a barebone form having same items as the Google form.
  4. Inspect Google form for action attribute.
    1. a. Copy the same action to your form.
  5. Inspect and find values for attributes name in the Google form.
    1. a. Give the same name values for your form items as well. The values look like entry.742532386.
  6. Check if your form gets the responses.

Since it is a native <form> element, apply CSS however you want to.

Read more here

Here's a script that allows you override the CSS styles of a Google form:

http://googleformrestyler.apixml.net/

What it does, is it pulls down the content of the google form using a CORS proxy, then writes the HTML content of the form directly onto the page using Document.write. After which, you have complete control to edit the CSS and Javascript of the google form.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!