I am trying to create a dynamic form based on client requirement. if clients need custom input fields then we stored the details of the custom fields in the database. After they logged into the system we get the custom fields details as JSON result (sample shown below) by using this result i would like to create a observable model and form.
Thanks in advance,
Ramesh.
var
sampleCustomFieldObj = { customfields: [ {columnName:
"customField1"
,type:
"number"
, displayName:
"My Number Field"
},
{columnName:
"customField2"
,type:
"string"
, displayName:
"My String Field"
},
{columnName:
"customField3"
,type:
"date"
, displayName:
"My Date Field"
}] };
Thanks in advance,
Ramesh.