[interchange-cvs] interchange - heins modified dist/foundation/products/mv_metadata.asc
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Wed Nov 20 22:26:00 2002
User: heins
Date: 2002-11-21 03:25:13 GMT
Modified: dist/foundation/products mv_metadata.asc
Log:
* Add metadata to make survey question input more sensible.
Revision Changes Path
2.23 +10 -0 interchange/dist/foundation/products/mv_metadata.asc
rev 2.23, prev_rev 2.22
Index: mv_metadata.asc
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/products/mv_metadata.asc,v
retrieving revision 2.22
retrieving revision 2.23
diff -u -r2.22 -r2.23
--- mv_metadata.asc 7 Nov 2002 19:15:54 -0000 2.22
+++ mv_metadata.asc 21 Nov 2002 03:25:13 -0000 2.23
@@ -198,6 +198,16 @@
shipping text description
state code
country
state
name
tax
tax_name State/Province Settings (tax, etc)
state::state text 4 word
+survey {'bottom_buttons' => "",'spread_textarea' => "",'tab_vert_offset' => "",'include_form_expand' => "",'restrict_allow' => "",'widget_cell_class' => "",'ui_sort_field' => "",'link_table' => "",'ui_show_fields' => "code
label
type",'link_extra' => "",'break_row_class' => "",'label_cell_class' => "",'tab_horiz_offset' => "",'link_before' => "",'ui_special_add' => "",'left_width' => "200",'top_buttons' => "",'spread_fields' => "",'combo_row_class' => "",'include_before' => "",'ui_meta_specific' => "",'tab_height' => "",'link_view' => "",'link_fields' => "",'spread_meta' => "",'tab_width' => "200",'data_row_class' => "",'ui_sort_option' => "",'panel_height' => "600",'include_form' => "",'help_cell_class' => "",'spacer_row_class' => "",'ui_sort_combined' => "code,label",'ui_data_fields' => "=Question
code
label
type
options
extended.check
width
height
filter
=Explanation/Formatting
help",'file_upload' => "",'spread_width' => "",'spread_height' => "",'tabbed' => "1",'include_form_interpolate' => "",'table_width' => "900",'spread_textarea_rows' => "",'link_sort' => "",'panel_width' => "900",'link_key' => "",'data_cell_class' => "",'view_from' => "",'link_label' => "",}
+survey::code hidden_text 70 2 Survey::Field
+survey::extended.check select =none,required=Required answer,state=US state,province=Canadian province,state_province=US state or Canada province,postcode=US or Canada postal code,phone=Like a phone number,us_phone_with_area=US phone (with area code),email=An email address,luhn=Pass LUHN-10 check Consistency check
+survey::filter hidden_text my $wid = $CGI->{type};
if($wid =~ /fillin/) {
return 'nullselect';
}
elsif ($wid =~ /checkbox/) {
return 'checkbox null_to_comma';
}
return ''; calculated.mv_metadata.options.survey::filter
+survey::height text 3 Height For option selects and text boxes
+survey::help textarea 80 5 Explanation Text Explanation text to be shown above question
+survey::label textarea 60 2 Question
+survey::options textarea 100 10 Choices Choices for option types { default => '=-- select one --' }
+survey::type select select=Simple select,fillin_combo=Options with "other" text input,radio_left=Select one (radio),checkbox_left=Select any (checkbox),textarea=Text Box,text=One-line text,yesno=Yes/No answer Answer type
+survey::width text 3 Width Applies to all
tracking::transactions {'bottom_buttons' => "",'spread_textarea' => "",'tab_vert_offset' => "",'widget_cell_class' => "",'ui_sort_field' => "tracking_number",'link_table' => "",'ui_show_fields' => "",'link_extra' => "",'break_row_class' => "",'label_cell_class' => "",'tab_horiz_offset' => "",'link_before' => "",'ui_special_add' => "",'top_buttons' => "",'left_width' => "",'spread_fields' => "code
lname
city
state
country
tracking_number",'combo_row_class' => "",'include_before' => "",'ui_meta_specific' => "",'tab_height' => "",'link_view' => "",'link_fields' => "",'spread_meta' => "tracking_number",'tab_width' => "",'data_row_class' => "",'ui_sort_option' => "",'panel_height' => "",'include_form' => "",'help_cell_class' => "",'spacer_row_class' => "",'ui_data_fields' => "",'ui_sort_combined' => "",'spread_width' => "",'file_upload' => "",'spread_height' => "50",'tabbed' => "",'table_width' => "",'spread_textarea_rows' => "",'link_sort' => "",'panel_width' => "",'link_key' => "",'data_cell_class' => "",'link_label' => "",}
transactions 100 1 {'bottom_buttons' => "",'tab_vert_offset' => "",'spread_textarea' => "",'widget_cell_class' => "",'ui_sort_field' => "order_number",'link_table' => "orderline",'ui_show_fields' => "code
username
nitems
total_cost",'link_extra' => "",'break_row_class' => "",'label_cell_class' => "",'tab_horiz_offset' => "",'link_before' => "nitems",'ui_special_add' => "",'left_width' => "120",'top_buttons' => "",'include_before' => "total_cost",'combo_row_class' => "",'spread_fields' => "",'tab_height' => "",'link_view' => "",'link_fields' => "code order_number sku quantity description price subtotal",'spread_meta' => "",'data_row_class' => "",'tab_width' => "",'panel_height' => "",'include_form' => "<td class=clabel>
Recompute?
</td>
<td class=cdata>
<input type=checkbox name=mv_cleanup value=recompute_transaction> Totals <input type=checkbox name=recompute_tax value=1> Tax <B>Warning: this will not work if your prices depend on options and you change them!
</td>
",'help_cell_class' => "",'spacer_row_class' => "",'ui_data_fields' => "=Transaction info
order_number
order_date
status
nitems
subtotal
salestax
shipping
handling
total_cost
update_date
=General
code
store_id
username
comments
order_ymd
order_wday
archived
deleted
complete
shipmode
payment_method
avs
po_number
order_id
=Shipping
fname
lname
company
address1
address2
city
state
zip
country
phone_day
phone_night
fax
email
=Billing
b_fname
b_lname
b_company
b_address1
b_address2
b_city
b_state
b_zip
b_country
b_phone
=Tracking info
affiliate
campaign
currency_locale
parent",'file_upload' => "",'spread_width' => "",'tabbed' => "1",'spread_height' => "",'table_width' => "800",'spread_textarea_rows' => "",'link_sort' => "code",'panel_width' => "",'link_key' => "order_number",'data_cell_class' => "",'link_label' => "Ordered Items",}
transactions::archived yesno Archived