Project

General

Profile

Actions

Bug #2860

closed

Strange display of embedded Google form

Added by Maura Smale about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress (misc)
Target version:
Start date:
2013-11-01
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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!

Actions #1

Updated by Sarah Morgano about 11 years ago

I thought we didn't allow embedded forms because of security concerns.

Actions #2

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

Actions #3

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.

Actions #4

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!

Actions #5

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?

Actions #6

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. :)

Actions #7

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.

Actions #8

Updated by Matt Gold about 11 years ago

  • Status changed from Reporter Feedback to Resolved
Actions #9

Updated by Boone Gorges about 11 years ago

Cool, glad it's working!

Actions

Also available in: Atom PDF