[ic] mv_data_function and blank fields not working

Tim Nelson interchange-users@interchange.redhat.com
Wed Jun 5 08:01:01 2002


I have a form that is using mv_data_function to update
fields in the userdb.  The field allow_cat has a list
of categories the user can buy from.  I want to
be able to have a blank field mean "allow all
categories".  Problem is I am using a <select> list
and collecting the data using mv_form_profile, but
when I set the CGI variable to "" IC won't
overwrite the existing value.  Any I missing
something obvious here? Thanks.

For example ... I have 
<INPUT TYPE=HIDDEN NAME="mv_form_profile" VALUE="Check
It">

[set Check It]
[perl]
$CGI->{allow_cat} = "Tools";  # this line works fine.
$CGI->{allow_cat} = ""; # doing this won't update the
field.
....
....


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com