Hi again,
i m pasting the json below as it is assigned to a javascript variable:
var formdata =
{
"action": "something.html",
"method": "post",
"elements": [
{
"name": "customer_address_en",
"caption": "Address",
"type": "text",
"value": "Vrysi Mykonos",
"validate": {
"required": false
}
},
{
"name": "customer_zipcode_el",
"caption": "T.K.",
"type": "text",
"value": "84600",
"validate": {
"required": false
}
},
{
"name": "customer_mobile_el",
"caption": "Mobile Phone",
"type": "text",
"value": "",
"validate": {
"required": false
}
},
{
"name": "eih_unit_type_el",
"type": "radiobuttons",
"options": {
"26": {
"caption": "Hotel",
"checked": "checked"
},
"27": "Hotel Boutique ",
"28": "Resort",
"29": "Motel",
"220": "Camping"
},
"validate": {
"required": true
}
},
{
"name": "eih_high_season_el",
"type": "checkboxes",
"options": {
"117": "January",
"118": "February",
"119": "March",
"120": "April",
"121": "May",
"122": {
"caption": "June",
"checked": "checked"
},
"123": {
"caption": "July",
"checked": "checked"
},
"124": "August",
"125": "September",
"126": "October",
"127": "November",
"128": "December"
}
},
]
};
The form never loads fully. Radio buttons are broken and checkboxes
dont appear. If i remove the validate pair everything works but
without validation.