Jump to content

How To Execute A Block Of Script Before Moving To The Next Field In The Form


Recommended Posts

hello Everybody,

 

I have a basic user form and the information is saved or submitted by of course a submit button. In the middle of the form i have a zip code lookup field and what I like to do is run the zip code lookup script and display the country, state, and city before moving to the next field.

 

- I have the script which looks up the zip code and tested ok.

 

How do I run a seprate code in the middle and have the resultes displayed before moving to the next field below?

 

any help you can provide would be greatly appreciated.

 

 

thanks

The correct answer is: AJAX.

I recommend reading up on jQuery for this, as it'll make it a lot easier for you.

 

Thank for the suggestion. is there a something specific i should be searching for, a key word, is the process called anything?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.