Before I used to be able to just copy the source code of the form and paste the part between <form></form>
into the page and add my own styling. But this doesn't seem to work anymore.
Has anyone found a way to still be able to customize google forms?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Yes, you can easily make the <form>
work by following these steps.
- Create a Google Form.
- Get the link and open the form in a new tab.
- Create a barebone form having same items as the Google form.
- Inspect Google form for
action
attribute.- a. Copy the same action to your form.
- Inspect and find values for attributes
name
in the Google form.- a. Give the same name values for your form items as well. The values look like
entry.742532386
.
- a. Give the same name values for your form items as well. The values look like
- Check if your form gets the responses.
Since it is a native <form>
element, apply CSS however you want to.
Read more here
回答2:
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.