Twiebie |
|
||
---|---|---|---|
I'm trying to add an extrafield for a radio button with option 0 and 1. However I want the options named No, Yes, but 0,1 in the DB respectively. I gave it a go with the following code, but I think I've missed something:
It adds the extrafield without problems, but the values are not correct. |
|||
Відредаговано: Twiebie (27.12.2012 19:50, 12 років тому) |
esclkm |
|
---|---|
/** See please extrafields api. Also for params you can use langfiles $L['subs_1']; littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты |