Re: form & lookup columns [message #172371 is a reply to message #172363] |
Mon, 14 February 2011 13:14 |
sheldonlg
Messages: 166 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 2/14/2011 6:05 AM, The Natural Philosopher wrote:
> richard wrote:
>> On Mon, 14 Feb 2011 01:55:42 -0800 (PST), Wolf wrote:
>>
>>> Hi,
>>>
>>> I've got a database with these tables:
>>>
>>> Region (id, name)
>>> Province (id, id_region, name, shortname)
>>> Town (id, id_province, name)
>>> Shop (id, id_town, name...)
>>>
>>> I've made a form and I'd like that when I choose a region, in the next
>>> drop-down menu I want to show provinces of that region
>>>
>>> I've searched the web to study how to do this thing, but I haven't
>>> found anything: could you please give me some hints/ideas/links to
>>> tutorials?
>>>
>>> Thanks a lot
>>>
>>> Best regards
>>
>> chained select.
>> I've seen plenty of examples of multiple chained selects using
>> javascript,
>> dhtml, ajax and others.
>> What is selected in form 1 dictates what loads into form 2.
>
> But this does require javascript.
>
> I can't think of any way of doing it without.
>
> And then the accessibility brigade will be all over the site complaining
> it wont work with Lynx or something.
Hell, if the way to make a site work requires JS, then, damn it, it
requires JS. If you want to be nice, you can put a message there to
tell all those who have it turned off that if they want to see the site
they need to turn it back on.
--
Shelly
|
|
|