Jump to content

Auto Tab For Phone Number & Date Fields On Contact Form Block

Go to solution Solved by creedon,

Recommended Posts

  • shiDMV changed the title to Auto Tab For Phone Number & Date Fields On Contact Form Block

Hey everyone,

I've been troubleshooting the auto tab function for SQS and I'm facing the problem:

I can't find a way to get the auto tab code to work with items in separate divs.

I'm currently messing with the javascript in codepen (see here), but I just can't find a way to apply it to multiple divs.

I've had to reduce the phone & date fields to one div each to make the javascript work on codepen but I can't make these changes on squarespace since dev mode isn't available on 7.1 sites.

Does anyone know how to fix?

Link to comment
  • Solution

You may want to read the accepted answer in the following for an alternate perspective on auto tab.

https://stackoverflow.com/questions/14828435/auto-tab-to-the-next-fields-depending-upon-the-field-type

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.