Bug #2860
closedStrange display of embedded Google form
0%
Description
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.
Thanks!
Updated by Sarah Morgano about 11 years ago
I thought we didn't allow embedded forms because of security concerns.
Updated by Matt Gold about 11 years ago
- Status changed from New to Assigned
- Assignee set to Boone Gorges
We don't allow iframe embeds because of security concerns, but we do have a custom shortcode that allows google form embeds. http://redmine.gc.cuny.edu/issues/2562
Updated by Boone Gorges about 11 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:
[gdoc link="https://docs.google.com/..."]
This shortcode does a very clean embed. Let me know how it works for you.
Updated by Maura Smale about 11 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!
Updated by Matt Gold about 11 years ago
Thank you, Maura? Would you mind updating the WP Help group so that others wondering about this know how to fix?
Updated by Maura Smale about 11 years ago
Ha, great minds -- I was updating the WordPress Help group as you typed your update here! Done and done. :)
Updated by Matt Gold about 11 years ago
I thought you were just a super-quick typist, turning around that message so soon after I updated this ticket!
Awesome and thanks.
Updated by Matt Gold about 11 years ago
- Status changed from Reporter Feedback to Resolved