- milkod2001Asked on February 26, 2016 at 05:23 AM
First of all, your jot forms are really amazing-piece of art.
Im trying to implement one the my forms i have created on WordPress and i want to find out what are the best practices to do so.
Form is working BUT(im getting this dform GT metrix):
page is loading and that unnecessary slows down website.
Form is implemented with iframe. That was only way how it worked.
My question is: IS there any way i can setup iframe to load only when is needed(when someone will click on link for form)?
Or is there any way how can i minimize the size of scripts which are coming with form. My form has only 2 fields to fill and submit part . Over 353kb feels like awful load for that little im getting.
Please help me with this.
- BorisAnswered on February 26, 2016 at 08:56 AM
I'm afraid that there is no way to reduce the size or number of scripts that are being loaded within the iFrame embedded form, or any other kind of form loaded directly from our servers.
The only way that you can customize the form as well as scripts, would be to get the source code of your form, and make any size reductions on that code which you would than paste into your website.
The scripts you are referring to contain the functionality for checking whether a required field has been properly filled, or if the value inside the email field actually looks like an email address. They also contain functionality for conditions and calculations, which I understand is not something this particular form is using, but is a standard functionality of our forms and is included in all forms.
You can remove any parts or scripts you deem unnecessary by modifying the source code version that you would paste into your desired web page. I hope this helps.