TOPIC:

focus to next textfield after typing one number (one single digit 1-9) 10 months 1 week ago #268032

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11658
  • Karma: 3
  • Thanks: 757
Hi,

I click outside, but if you want you can add the code to go on textfields with enters.
I can provide you with the code

UPDATE: here is:
crosstec.org/en/forums/3-breezingforms-f...n-fields.html#244022

I think this can be helpful

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic. Reason: added more information

focus to next textfield after typing one number (one single digit 1-9) 10 months 1 week ago #268037

  • Topic Author
  • 22hansen22
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 33
  • Thanks: 0
Sorry I may have not explained myself correctly in the first post

'I want to be able to type one number in textfield#1 and after that to automatically put the cursor in textfield#2, etc'

Without pressing enter, without clicking outside, etc ...

Just by typing one character.

Please Log in or Create an account to join the conversation.

focus to next textfield after typing one number (one single digit 1-9) 10 months 1 week ago #268040

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11658
  • Karma: 3
  • Thanks: 757
Hi again,

got it.

Please go to your form->Advanced->More options->Scripts->Inialization script->check Custom and put this:
function ff_nameofform_init()
{
jQuery(document).ready(function(){
            jQuery('.bfQuickMode input').keyup(function(e){

               jQuery(':input:eq(' + (jQuery(':input').index(this) + 1) + ')').focus();

              
            

            });
        });
} // ff_nameofform_init
Please replace nameofform with name of your form (not title)

P.S:please replace code for focus from your code which I sent to you in previous message

Regards,
Tihana

Please Log in or Create an account to join the conversation.

focus to next textfield after typing one number (one single digit 1-9) 10 months 1 week ago #268049

  • Topic Author
  • 22hansen22
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 33
  • Thanks: 0
Thanks! that works

Please Log in or Create an account to join the conversation.

focus to next textfield after typing one number (one single digit 1-9) 10 months 1 week ago #268051

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11658
  • Karma: 3
  • Thanks: 757
Hi,

super :)

If you need anything else, feel free to ask

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.040 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!