Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26102

Re: Prevent Drop-downs from showing

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: Prevent Drop-downs from showing
Date 2014-11-08 19:47 +0100
Organization solani.org
Message-ID <m3lof6$7fe$1@solani.org> (permalink)
References <37302ad5-2e60-4a3a-ab43-9c3bbb95ac5c@googlegroups.com> <m3l85i$jji$1@dont-email.me> <081120141808229639%timstreater@greenbee.net>

Show all headers | View raw


Tim Streater wrote:

> In article <m3l85i$jji$1@dont-email.me>, Denis McMahon
> <denismfmcmahon@gmail.com> wrote:
> 
>> I thing the code behind the web pages should be detecting invalid
>> combinations and bouncing them back to the user to correct, rather
>> than submitting the invalid data to peoplesoft.
> 
> Invalid combinations should not even be possible. Your first dropdown
> should list countries. Having selected a country, you load the second
> dropdown with state/province/county as appropriate. This could all be
> hardwired into the app, or, better, make an ajax call to obtain th
> edata you need to load the second dropdown with, including whether it's
> to be loaded with states,counties, or provinces.

However, you can't have reliable validation on the client, so it's
always necessary to validate on the server.

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Prevent Drop-downs from showing DrKen <javajedi2@yahoo.com> - 2014-11-06 19:34 -0800
  Re: Prevent Drop-downs from showing "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-11-07 08:52 +0100
    Re: Prevent Drop-downs from showing Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-07 13:56 +0100
    Re: Prevent Drop-downs from showing Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2014-11-07 15:53 -0200
      Re: Prevent Drop-downs from showing "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-11-07 21:43 +0100
        Re: Prevent Drop-downs from showing Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-08 01:56 +0100
  Re: Prevent Drop-downs from showing Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-08 14:08 +0000
    Re: Prevent Drop-downs from showing Tim Streater <timstreater@greenbee.net> - 2014-11-08 18:08 +0000
      Re: Prevent Drop-downs from showing "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-08 19:47 +0100
        Re: Prevent Drop-downs from showing Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-08 21:20 +0000

csiph-web