FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » form & lookup columns
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: form & lookup columns [message #172365 is a reply to message #172363] Mon, 14 February 2011 12:01 Go to previous messageGo to previous message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma:
Senior Member
On Mon, 14 Feb 2011 11:05:40 +0000, 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.

Tough shit. I'm not writing code to satisfy 5% or less.
Do you think the people at the big corporate sites are gonna give a rats
ass because a few whiners who use some obscure browser on some obscure OS
can't see half the data?

I write my code for functionality first, looks second.
I'm working on a page now that has JS in it but that's purely for
navigational purposes. If they have JS turned off, fine. They just get one
extra long page to look through.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Curious problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 06:00:10 GMT 2024

Total time taken to generate the page: 0.05712 seconds