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

1 posts, 0 answers
  1. Ramesh
    Ramesh avatar
    3 posts
    Member since:
    Jul 2011

    Posted 22 Aug 2012 Link to this post

    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,
Back to Top