One element of my website is a hyper-link to the following web address...
http://www.nsandi.com/products/pb/haveYo...
(If you have a look you%26#039;ll see that it is a singular field requiring the input of a member%26#039;s number then a click on the %26#039;GO%26#039; button besides to the right.)
My question is: How do I go about auto-populating this data field and executing accordingly from the singular click from within the web page within my site?
One kind soul from off here suggested that I place
?holderNumber=
.... At the end of the said link..... I have tried but can%26#039;t get it to work.
I don%26#039;t presently use a design package off the shelf, I use 1and1.co.uk%26#039;s website builder plus application. Apparently I can enter my own code within the make up of my pages so if anybody has any ideas as to how to go about this ie: What code I would have to enter, I would be most grateful if your post your replies and help me on my merry way!
Thanks for your assistance in advance!
How do I auto-populate a field and execute it on a web page I have opened from a hyper-link within my website?
You can only user a query string if the called page is setup to read the query string and use it as part of the procedure. If this is the case, you need to know exactly what the query string parameter is called. If this is not the case, I don%26#039;t think you can do it easily. In fact, if this page has any kind of security, it may be written to prevent exactly what you are attempting.
How do I auto-populate a field and execute it on a web page I have opened from a hyper-link within my website?
Pass ?holderNumber in the querystring as you were told before. But in the page
http://www.nsandi.com/products/pb/haveYo...
In place of
%26lt;input name=%26quot;holderNumber%26quot; value=%26quot;%26quot; size=%26quot;12%26quot; maxlength=%26quot;13%26quot; type=%26quot;text%26quot;%26gt;
use this
%26lt;input name=%26quot;holderNumber%26quot; value=%26quot;%26lt;%out.print(getQueryString(%26quot;holde... size=%26quot;12%26quot; maxlength=%26quot;13%26quot; type=%26quot;text%26quot;%26gt;
No comments:
Post a Comment