Form Embedder: An impossibly simple way to add a Google Form to your experience

Either that is not your form id, or your form is not public. Make sure you are copying the id from the user-facing URL (not the configuration page).

Edit: Form was using an unsupported question type.

1 Like

Hi! So I’m using form embedder in my game, but I would like to make the topbar button be restricted to certain group ranks; does anyone know how to help with that?

1 Like

I did copy the id from the user-facing URL. It’s also public since I can access it in a incognito tab. If it’s not public how would I make it public? I don’t see any option so I assumed it’s public and since I can access it in incognito I don’t know how it can be private.

1 Like

Player:GetRankInGroup(GroupId)

1 Like

I know that I would need to use that command, however I’m confused on how I would even hide the topbar icon?

1 Like

I also encountered such error, tried looking into the code as it seems kind of random (pointing me to thinking about internal error) but I couldn’t find the cause. Sometimes the same form could produce error sometimes not, even with the same questions.
I tried changing many things but it usually didnt give anything. Only what I did was import the model and change form ID (to 1FAIpQLSfLw–RAFWbFEYAbfuWduqcpOVkSNi02TX6QKbPdokjq7Z5sg). Maybe someone knows the solution.

1 Like

The fact that this was made by Roblox Staff is even better

3 Likes

It’s really great, very useful, but I got an error.

what i do?
I only changed the form ID,and print error.

error logs:
“HttpError: ConnectFail”.
“Failed to fetch form with id: xxxxxxx”

1 Like

Hey @BitwiseAndrea I’ve had this public in my game for a while now, and it’s been great!

It seems I have discovered an issue, however. I have recieved reports from mobile users that they are unable to move after opening and then closing the GUI.

Workaround is to just set DisableTouchInputs = false.

1 Like

Thank you so much! This is more than perfect for games which need trainings to rank roles!

1 Like

Oops, this was a bug! Fixed and republished. (was forgetting to set DisableTouchInputs back to the original value on a successful form submit)

The reason touch inputs are disabled when the form is open by default is because the controls overlapped with the form and made it not the best user experience to fill out, and i wanted to make sure it was large enough to interact with easily.

2 Likes

Yeah this isn’t too hard. Add these imports to the top of FeedbackButtonScript to get a reference to LocalPlayer

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

Then add this after FeedbackButton is initialized and change the minimum rank / groupid to be whatever you want.

-- Hide FeedbackButton if LocalPlayer is below a certain rank
local rank = LocalPlayer:GetRankInGroup(GROUP_ID)
FeedbackButton.Visible = rank >= MINIMUM_RANK
2 Likes

Absolutely incredible resource! I will totally be using this in the future!

2 Likes

Ive been getting this warning and some of my text is not displaying
grafik
grafik

1 Like

Please DM me a link to your form or share it here - i cannot debug anything without a link to the form.

If you need more just say so

2 Likes

any updates on the problem or are you still trying to fix it?

Update :tada:

I’ve pushed an update to the Form Embedder that not only fixes some bugs, but adds new features!

New Features :new:

Linear Scale :balance_scale:

Added support for a new question type: Linear Scale :dotted_line_face: :balance_scale:

And it works on mobile :iphone:

More Auto-Filled Entries :hourglass_flowing_sand:

Support for the following values is added through metadata keys :tada: In addition to userid, username, and displayname, you can now auto-complete fields for various globals…

  • Client Version __clientversion__
  • Place ID __placeid__
  • Place Version __placeversion__
  • Time in game __time__
  • Client time __elapsedtime__
  • Memory heap size __gcinfo__
  • Number of players in the server __serversize__

These fields display next to other auto-populated fields

More information here: Roblox Globals | Documentation - Roblox Creator Hub

Bug Fixes :bug:

  • Handled text formatting in questions and question descriptions (bold, underline, italics) (this does not add text formatting support to the form title and description)
  • Fixed an issue where if you had a comma in a question it wouldn’t render the whole question, oops
  • Fixed an issue where if you’re a magician and manage to get newlines in the source of the file then that doesn’t totally break everything
  • Made things fail a little more silently / fall back to what we parsed in HTML if splitting the csv didn’t work

Please let me know if you find any bugs and please include a link to your form :link:
And enjoy the updates!!! :beach_umbrella: :sun_with_face:
~BitwiseAndrea

10 Likes

Is it possible to add animations to it? For example when you click the button to open the form, it tweens in and out? I think it’d add a nice touch to it, rather than just appearing.

Awesome update to an awesome resource! Thank you so much!

EDIT: For some reason metadata fields are not working.

Issue on the new version:

form link: Speedrun Time Trial Form