This is a migrated thread and some comments may be shown as answers.

Is there any way to create dynamic form based on Model?

0 Answers 282 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ramesh
Top achievements
Rank 1
Ramesh asked on 22 Aug 2012, 12:35 PM
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.

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.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Ramesh
Top achievements
Rank 1
Share this question
or