listvalues.ini errors

Archived from the Xataface Users forum.

dfwrgjeff — Fri Nov 06, 2009 12:59 pm

I can get it working using the values form the faq - but when I change it to my values it doesnt show anything:

This works:

[Rebate]

ENGL = English

MATH = Math

PHYS = Physics

CHEM = Chemistry

Here is my list:

[Rebate]

none = Customer did not request

50 = $50 Cash

100 = $100 Cash

50DD = $50 Dining Dough

150DD = $150 Dining Dough

Move = 2 Hour Move

Here is my fields.ini

[APARTMENT_NAME]

widget:label = “Property Name”

[APARTMENT_ADDRESS]

widget:label = “Address”

[APARTMENT_CITY]

widget:label = “City”

[MOVED_IN]

widget:label = “Moved In”

widget:calendar

[REBATE_AMOUNT]

widget:type = select

vocabulary = Rebate

[INVOICE_AMOUNT]

widget:label = “Invoice Amount”

widget:description = “Enter total bill out amount including bonus”

[REBATE_COST]

widget:label = “Rebate Cost”

widget:description = “Enter total cost of rebate or incentive”


shannah — Mon Nov 09, 2009 10:07 am

A couple of possibilities:

  1. Try wrapping the values in quotes. e.g.:
Code: Select all
[Rebate] none = "Customer did not request" 50 = "$50 Cash" 100 = "$100 Cash" 50DD = "$50 Dining Dough" 150DD = "$150 Dining Dough" Move = "2 Hour Move"

Another thing is that “none” might be a keyword for ini files so it may be causing problems.

  1. If all else fails, you can implement the valuelist programmatically inside a delegate class.

dfwrgjeff — Sat Nov 14, 2009 6:45 pm

that worked - thanks