Strange display of embedded Google form
I’m embedding a Google Form into a page and running into what I think are some stylesheet conflicts that make the form display a bit weirdly. Instead of just having the little red asterisk to signify that a form field is required for users to complete, when I embed the form onto my site here on the Commons it puts a line of text underneath each form field that reads “This is a required question.”
I’m using the Google Docs embed code in the form of [ gform form='URL' ] with the “viewdoc” URL from Google. I’ve tried messing around with the different form themes on Google’s end, but it doesn’t make any difference to pick a different theme. My site theme is twenty-eleven.
Updated by Boone Gorges over 9 years ago
- Status changed from Assigned to Reporter Feedback
- Target version set to Not tracked
Hi Maura. I'm doing some testing on this, and it looks like the 'gform' shortcode, while pretty cool in theory, does have some issues. Instead of that, why don't you give the 'gdoc' shortcode a try. Use it like this:
This shortcode does a very clean embed. Let me know how it works for you.
Updated by Maura Smale over 9 years ago
Thanks Boone, that works fine. I think I mixed my plugins up -- I had the WordPress Google Form plugin activated instead of Ray's plugin, so the gform shortcode was working with that but doing the weird formatting thing. All's well now -- many thanks, everyone!