jaksdigital Posted May 31, 2020 Share Posted May 31, 2020 Site URL: https://dogfish-rhubarb-phn9.squarespace.com/contact I have a client that would like the form on their contact page to 'auto tab' to the next field, particularly when the user is typing in the phone number, he would like it to automatically jump to the next box. If anyone can help with the code for this please let me know! I have tried a bunch of different things that haven't worked, I am trying to apply jquery onKeyUp event but I can't figure out how. The password on the site is FlowersbyB. Link to comment
katelyn2 Posted February 22, 2021 Share Posted February 22, 2021 Hey! I'm following up on this and see that you figured out the solution. I have a client who is wanting the same thing. Would you mind sharing how you achieved this? Thank you! Link to comment
tuanphan Posted February 28, 2021 Share Posted February 28, 2021 On 2/22/2021 at 11:31 PM, katelyn2 said: Hey! I'm following up on this and see that you figured out the solution. I have a client who is wanting the same thing. Would you mind sharing how you achieved this? Thank you! Do you still need this code? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
amritanan Posted March 2, 2021 Share Posted March 2, 2021 On 2/27/2021 at 8:45 PM, tuanphan said: Do you still need this code? I'm looking for this code, please! :) Link to comment
tuanphan Posted March 6, 2021 Share Posted March 6, 2021 On 3/2/2021 at 9:37 PM, amritanan said: I'm looking for this code, please! :) Try adding to Code injection Header <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $( document ).ready(function () { $('fieldset.phone > div > label > input').attr('onkeyup', 'moveOnMax(this)') $('fieldset.date > div > label > input').attr('onkeyup', 'moveOnMax(this)') }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
amritanan Posted March 10, 2021 Share Posted March 10, 2021 On 3/6/2021 at 9:59 AM, tuanphan said: Try adding to Code injection Header <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $( document ).ready(function () { $('fieldset.phone > div > label > input').attr('onkeyup', 'moveOnMax(this)') $('fieldset.date > div > label > input').attr('onkeyup', 'moveOnMax(this)') }); </script> Thank you so much!! Link to comment
ChristinaG Posted September 10, 2021 Share Posted September 10, 2021 Curious on auto-tab, as well, for a Lightbox form on our homepage. Looking for any recommendations. Thank you, kindly! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.