[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Server side validation of input values  XML
Forum Index -> Development
Author Message
kabat

Power User

Joined: 10/12/2007 10:12:44
Messages: 78
Offline

Hi,

i use a field with a regular expression in my page. I would like to validate the input value on server side, too (just to be able to react accordingly). But now i noticed that when the input value doesn't correspond to the regular expression, the value "0" is sent to the server, that is a server side validation is not possible.

Is this behavior intended or maybe a bug?

Agnes
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

Hi Agnes,
in case the regular expression is not valid on client side then the last valid value is set into the field. When leaving the field then the field will be reset to this value.
Is is possible that you somehow invoke a function by hotkey, and the field still shows an old, incorrect value?
Björn

Björn Müller, CaptainCasa GmbH
kabat

Power User

Joined: 10/12/2007 10:12:44
Messages: 78
Offline

Which hotkey do you mean?
The validation is normally started by clicking on a button.
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team