The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Dynamic link from data entry
ChuckS
post Feb 5 2008, 11:12 AM
Post #1





Group: Members
Posts: 2
Joined: 5-February 08
Member No.: 4,881



I would like to provide a data entry field of three characters on a screen, then use the entry value to link to a screen already provided ("value".htm). It appeared this could be done with HTML using concatenation, but I have not been able to get it to work.

TIA, Chuck
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Feb 5 2008, 11:26 AM
Post #2


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



No, HTML doesn't "do" concatenation. Do you really mean you have 26^3 pages (quite a large number!) and you want to jump to the corresponding one? Simple to do (reliably) using scripting (PHP etc) or less reliably using Javascript.

All seems a bit pointless somehow, though.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ChuckS
post Feb 5 2008, 12:41 PM
Post #3





Group: Members
Posts: 2
Joined: 5-February 08
Member No.: 4,881



QUOTE(Brian Chandler @ Feb 5 2008, 11:26 AM) *

No, HTML doesn't "do" concatenation. Do you really mean you have 26^3 pages (quite a large number!) and you want to jump to the corresponding one? Simple to do (reliably) using scripting (PHP etc) or less reliably using Javascript.

All seems a bit pointless somehow, though.


Brian,

Thanks for the reply. I know there is more than one way to accomplish what I need, but to some degree it is a learning experience. I do simple web sites and, in this case I want the user to enter the first letter of the last name to provide a list of names. The best way to do this is probably with a data base, but I have no experience in coding for this. I just hate the idea of listing the aphabet on the screen, even though this is probably the easiest solution.

In other words, I still need a script that will do this.

Thanks, Chuck
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Feb 5 2008, 01:23 PM
Post #4


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE
...in this case I want the user to enter the first letter of the last name to provide a list of names. The best way to do this is probably with a data base, but I have no experience in coding for this. I just hate the idea of listing the aphabet on the screen, even though this is probably the easiest solution.


A database is just a way of storing information on the server. It has nothing (directly) to do with anything that "happens" in the browser.

QUOTE
In other words, I still need a script that will do this.


You probably want Javascript then. It runs in the browser and allows jiggling around with what's on the screen.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 07:02 AM