Connecting Tech Pros Worldwide Forums | Help | Site Map

Auto fill form fields when link click

Newbie
 
Join Date: Jul 2007
Posts: 1
#1: Jul 29 '07
i would like to create an admin panel for my business. because i have 5 or 6 suppliers and to order i have to lookup which supplier it is then find the url, so to make things a little easier im going to create an admin panel. but i would like to know if its possible that when i click a link that it sends whats suppose to be in form fields. (EXAMPLE- if i click to go to supplier 1's logon page, when i click that link whats suppose to be in the form field is transfered to their logon page via script or other means)
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,562
#2: Jul 29 '07

re: Auto fill form fields when link click


Sending the form to the page is easy. Getting past the login is not. For that you would need a script, but that is not html or css, so you need to ask on the javascript board.
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#3: Jul 31 '07

re: Auto fill form fields when link click


Quote:

Originally Posted by mxdllc

i would like to create an admin panel for my business. because i have 5 or 6 suppliers and to order i have to lookup which supplier it is then find the url, so to make things a little easier im going to create an admin panel. but i would like to know if its possible that when i click a link that it sends whats suppose to be in form fields. (EXAMPLE- if i click to go to supplier 1's logon page, when i click that link whats suppose to be in the form field is transfered to their logon page via script or other means)

Instead of a link, you could have a submit button which will send the form data to the action page. Alternatively, the link could submit the form.

Give some code or a test page.
Reply