-
1mpactAsked on September 14, 2022 at 4:00 PM
Hi,
My form is suddenly showing strange code at the top of the Thank You page and I can't figure out why, or where the code is located to fix it. The code shows up on a phone and computer. Thank you for your help in advance!
-
Anna JotForm SupportReplied on September 14, 2022 at 4:10 PM
Hi Andrea,
Thanks for reaching out to Jotform Support! I'm sorry that you're having issues with your form. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.
-
Anna JotForm SupportReplied on September 15, 2022 at 9:41 AM
Hi Andrea,
Thank you for patiently waiting, we appreciate it. When I cloned and tested your form, the same thing happened for me. After investigating it a bit, I found a solution. It's really easy to fix. Let me show you how:
- Clone your form first.
- Go to your Form Designer, then to the Themes Tab.
- Change to your preferred Themes.
- You can check the screencast below for the reference.
Give it a try and let us know how it goes.
-
1mpactReplied on September 16, 2022 at 8:30 PMThat is not a viable solution due to the spreadsheet that this form integrates with importing information to multiple other spreadsheets. Whenever I’ve cloned and started a new spreadsheet, it changes the columns and all of my Google Sheets malfunction.
... -
Billy JotForm SupportReplied on September 17, 2022 at 5:02 AM
Hello,
I no longer see the code in the form and on a cloned version. Please confirm if the issue has been fixed or if you still need help.
We look forward to hearing from you.
-
Billy JotForm SupportReplied on September 17, 2022 at 5:03 AM
Please disregard my previous message. I just saw the issue again. I'll reach out again as soon as I have an update. We appreciate your patience and understanding.
-
Billy JotForm SupportReplied on September 17, 2022 at 5:34 AM
I have created a ticket and escalated this to our Developer team. Although we don't know exactly when the issue will be fixed, we’ll circle back to this thread when we have an update.
Thanks for your patience and understanding, we appreciate it.
-
egeozkan JotForm DeveloperReplied on September 19, 2022 at 4:06 AM
Hello,
This issue is the result of a small syntax error in your in your "Inject Custom CSS" section, currently, your injectCSS ends like this:
@media screen and (min-width: 768px)
<style>
.jotform-form {
padding: 0px;
}
.appointmentSlot {
border: 1px solid #000099;
color: #000099;}
Converting it to this:
@media screen and (min-width: 768px) {
.jotform-form {
padding: 0px;
}
.appointmentSlot {
border: 1px solid #000099;
color: #000099;}
}
Will resolve your issue. This is due to the fact that, when using media queries in CSS, their block needs to be scoped using curly braces, and the <style> tag should be removed.
Thank you!
-
1mpactReplied on September 26, 2022 at 3:26 PM
Am I replacing code? I don't see a line item like this one. Can you tell me which line it is in the CSS?
-
Jovanne JotForm SupportReplied on September 26, 2022 at 4:14 PM
Hello 1mpact,
Please try replacing these lines of CSS codes with the one provided by my colleague. See the image attached:
Here is the CSS code replacement:
@media screen and (min-width: 768px) {
.jotform-form {
padding: 0px;
}
.appointmentSlot {
border: 1px solid #000099;
color: #000099;}
}
Give it a try and reach out again if you have any other questions.