Exact matches only
Search in title
Search in content
Search in posts
Search in pages

Embed Code

The form code may be embedded in your website in multiple ways such as JavaScript (recommended), as a HTML text/image or as a Lightbox that also has it’s own options.JavaScript. This is the easiest, safest and most elegant way of embedding the generated code into your webpage. JavaScript publishing will automatically adjust the height of your form, without showing any scrollbars. Each publishing method has a View Demo button which illustrates how the form will look like on your webpage.

Embed Form

iFrame. Inline frames have a specified height. By contrast to JavaScript publishing, with iFrames, your form height will remain the same, while overflowing elements will be reachable through scrolling.
Link to form.  Display your form as a hyperlink text or hyperlinked image.
    • Text – Change the Contact us text to a custom one.
    • The Image option works great with buttons. Host your image online and paste the URL in the Customize image box.

These options will open the direct link of the form in a new browser tab.

Lightbox. You may link to a lightbox form through text links, image links or floating buttons. When published in lightboxes, forms will appear to be floating above the page and will definitely become the center of attention.
  • Text link. This code will create a link with a text on your webpage which will popup the form once it’s clicked. You can change the text of the link.
  • Image link. This code will create display an image and once it is clicked it will open the lightbox. Enter the URL of the image you want to use for the link.
  • Floating button. Use this code to add a floating button with a text on your webpage. Adjust the text, font style, color and placement of the button.
  • Auto popup. This option will auto popup the form on your webpage after a number of seconds you have set. By default, it pops up after 3 seconds.

LightBox

19 comments

  1. I am trying to add a page for unsubscribe. I have made a form and trying to use the jave link in the HTML mode in the page but when I publish and click view, it goes straight to the home page. Why is this?

    1. Hi Jose! Without having specific details, I can only give you a possible solution. Try to publish your form using the Javascript code from the Publish section and place it in the back-end of your page. Make sure that the code is added in the right page, maybe it wasn’t.
      If this solution does work for you, you can reach out our Customer Care team directly from your account.

  2. Hi. I have used the HTML code to embed the form at the bottom of my scrolling site, however, it makes the page automatically load at the bottom with the form. How do I remove that automatically scroll to form bit from the code?

    1. Hi Moe! To avoid that, please go to your form’s Settings – Advanced section – Form Tab and disable the option called Autofocus on the first input field of the form
      Thanks!

  3. This is great and I have embedded my form into my site. How can I use a “CONTACT AND INFO” link on the home page to direct to my form – does anyone know, please? I know the HTML is:

    CONTACT & BOOKINGS

    but what is the XXXXX?

    1. Hello,

      Thank you for reaching out to us.

      There are several lightbox publishing methods in the Publish section of the form. For your scenario, you can use the text link, image link or floating button one. Also, you will find there the form’s direct link.

      Please let us know at support@123formbuilder.com if you need further assistance.

      Thanks.

  4. Where do I put the code in my html? You do explain this in your instructions. I’m do a Lightbox – floating button and there’s no explanation of where the code should be inserted in my html.

    1. Hi Linda!

      We don’t mention where the code needs to be inserted in your HTML because that’s entirely up to you.

      Depending on how you structured your website, and where you want your form, you should place it within the tags.

      But we can’t be specific because only you know exactly where you want the button placed.

  5. Hi, im using your free forms for my website, my question is, how can i implement a google adwords objective code (like a contact us objective when the user click send) inside the html or js. code? ty for your time and impresive web tool!

  6. I am using the HTML version of the form to embed into my goDaddy website using the GoDaddy WebsiteBuilder. The reason I used yours (aside from the fact that it looks much better!), is to be able to place a Facebook tracking pixel into the code which will be triggered upon someone clicking on the “submit” button. I have it set up so that when someone clicks submit, a ‘Thank you’ message comes up.

    Where do I place the tracking pixel into the code such that it will work? Facebook says to place it between the tags on a confirmation page, but I am not using a confirmation page, just the Thank you message.

    Thanks for your help!

    Dan

    1. Hello Dan!

      Follow our documentation on how to add Facebook conversion tracking to your online form (the link will redirect you to the article).

      May I recommend you use the JavaScript code instead of the Inline HTML code to embed the form on your GoDaddy web page. We have a documentation that shows the steps on how to embed online forms on GoDaddy. With the Javascript code, the form is automatically updated on the page whenever you adjust it in the form editor. With the Inline HTML option, you will need to re-embed the form whenever you’ve applied changes to it in the form editor. You can save more time this way.

      For further assistance, don’t hesitate to contact our Support Team at support@123formbuilder.com or via our contact form.

      Thanks!

  7. I would like the form to work with AJAX, so that the submission doesn’t lead to a redirect to 123formbuilder.com – is there some way to achieve that? thanks.

    1. Hello Sameer!

      You can redirect your form users to a web page after submission. See the option in SettingsNotificationsConfirmation Settings. You can also redirect your form user depending on the choices they have selected in the form. You’ll find the option in the SettingsRulesForm Rules section of your form. If you do not want the links of your forms to be with 123FormBuilder, upgrade to the Platinum plan and use Domain Aliasing.

      If this is not what you are looking for, please contact our support specialists to assist you and offer the help you need at support@123formbuilder.com

      Thanks!

  8. Hi – I would like to have the submission of the email address be entirely within an AJAX call, so that it doesn’t lead to a re-direct to 123formbuilder.com after the submission is done. How can I achieve that?

  9. I’m using the HTML version of the code. My page background is black so I have changed the text colour to white for each of the classes. However, the days in the calendar are white when I first import the code prior to editing any styles. Can you please tell me how I can make the calendar dates black?
    Thanks

    1. Hello, Amanda! Use Inspect Element of your Internet browser to grab the IDs of the calendar dates. You’ll usually find them as ‘id123-control7559309-1’, ‘id123-control7559309-2’ and ‘id123-control7559309-3’. Next, go to the SettingsThemes section of your form in 123FormBuilder and click on Use custom CSS. Enter the code:
      #id123-control1111111-1, #id123-control1111111-2, #id123-control1111111-3{
      background-color:black;
      color:white;
      }
      Change the IDs with the ones used for your date field inputs. This code will change the color of the input box to black and the color of the input text to white.

      We usually recommend using the JavaScript code and adjust any changes to your form in the Themes section. This way, each time you’ll modify your form on 123FormBuilder, the changes will be automatically applied on your web page.

      For assistance or help, please contact our Support Team at http://salesforce.123formbuilder.com/contactus.html.

      Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

Frequently Asked Questions

Here is a list of the most frequently asked questions. For more FAQs, please browse through the  FAQs page.

Is this service free?
Yes, we offer a free form builder service. Just sign up to the Basic plan and you are all set. This plan is forever free, but you are limited with a few features only, such as 5 forms per account, 100 submissions per month and you have to keep the backlink to 123FormBuilder on your forms. Check out our features matrix for more information.
How many forms can I create?
It depends on the service plan you are on. Higher service plans enable more features, including more web forms for your account. If you need more forms, go to the My Account section of your account and click the upgrade button. To create an unlimited number of forms, either upgrade to the Platinum service plan or higher. Consult our features matrix for more information.
How can I publish my forms?
You can publish your forms in many ways, by using their direct URL or HTML link, embedding them with a JavaScript code, Inline HTML or iFrame, using the Facebook app or the WordPress plugin, using popups, the Blogger code snippet and many more. Once you have created and customized your form, go to the Publish section to complete your work. Read more in our documentation.
How do I change my form design?
You can change the design of your form in the Themes section, which is located in your form settings. We offer a set of more than 30 predefined form themes for your forms, but you can also create your own from scratch. You can customize the submit button, the logo and more. To apply your own stylesheets, all forms come with a custom CSS editor.

Can't find what you're looking for?