[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] mv_data_function and blank fields not working
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