[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Using checkboxes to write multiple values to one field
Thanks d for your help.
I first tried to set it up on the form as follow:
[set mv_data_enable]1[/set]
[tag flag write]evaluationdb[/tag]
[set NewWeb]
$CGI->{search_features} =~ s/\0+/ /g;
return;
[if type=explicit compare="[error all=1 show_var=1 keep=1]"]
mv_nextpage=@@MV_PAGE@@
[else]
mv_nextpage=ord/send_feedback
[/else]
[/if]
}
[/set]
<FORM ACTION="[process]" METHOD="POST">
<INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="feedbackdb">
<INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="username">
<INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert">
<INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE=@@MV_PAGE@@>
<INPUT TYPE=hidden NAME=mv_click VALUE="NewWeb">
<INPUT TYPE="HIDDEN" NAME="mv_data_fields" .............>
<my form goes here>
checkboxes goes in here in format:
<INPUT TYPE="CHECKBOX" NAME="search_features" VALUE="Keyword" [checked
name=search_features multiple=1 value="Keyword"]> Keyword<BR>
etc........
<end of form>
For some reason this didn't work. There is no errors on error log bu
still I can not owk out what is wrong with it. I can still can see only
first entry in my table when I look trough admin interface.
Then I tried to set it up trough mv_metadata table.
I created new entry, set it up to be:
my_tablename::search_features
widget type as checkbox
filter null_to_comma
This is not working either.
So please could you tell me what I am doing wrong in here.
Thanks
Alma