/    Sign up×
Community /Pin to ProfileBookmark

Combo Box/Select List

Hello…I have mutliple select fields (dropdown lists) that have the same values in them.

I thought I saw somewhere where you could have an outside file with the values in it and then somehow link that file to the select field to have only one ‘source’ for the values for all the instances of the select field.

Is that possible, did i even make sense? haha If so, how do i link the values from a gtext fiel to the select field?

Thanks in advance!!

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@ray326Oct 29.2007 — You can do it with about any type of server side include capability.
Copy linkTweet thisAlerts:
@jeffcravenerauthorOct 29.2007 — Do you have a link for that? I tried googling it and didn't find what I was looking for.

Thanks!
Copy linkTweet thisAlerts:
@ray326Oct 30.2007 — It depends on what you're using on the server side; SSI, PHP, ASP, ???
Copy linkTweet thisAlerts:
@harumphNov 01.2007 — What Ray is saying is, there is no one solution. It ALL depends on what your backend is running on. Syntax is different on each option. Check with your hosting company (or your internal IT dept if you host your site internally) to find out what web server and database options are available.

Examples:

PHP

ASP

'Nuther example
×

Success!

Help @jeffcravener spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...