5 Replies Latest reply on Sep 14, 2007 2:23 AM by toni

    inputText / empty string versus NULL

    toni

      Hi,

      I need the instance variables bound to my "inputText" fields to be set to NULL instead of an empty string, if the user leaves the input field blank.

      However, in the database I can see that those values get set as an empty string.

      How can I make sure that, if the user enters an empty string ("") or does not enter anything at all into a text field, the instance variable is set to NULL instead of to an empty string?

      Toni