Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding the values to the form #102

Open
vikaswizorbit opened this issue Sep 6, 2016 · 2 comments
Open

Binding the values to the form #102

vikaswizorbit opened this issue Sep 6, 2016 · 2 comments

Comments

@vikaswizorbit
Copy link

Hello

I am able to create a form using the form builder. I have save the form in the db.

Now I am able to open up the saved form and enter the response in those fields. I am also able save the response also in the db.

Now I want to bind the form with the saved values.

I have create a API to get the form definition json as well as response JSON.

Please Let me know how to bind the values to the form

Check the attached file for the details of the form definition json as well as response json
SampleJSON.txt

@ghost
Copy link

ghost commented Nov 25, 2016

@vikaswizorbit I am able to create the form using the form builder and got the json out for that form

[{"component":"textInput","editable":true,"index":0,"label":"Label","description":"description","placeholder":"Enter Label For Metered Data","options":[],"required":false,"validation":"/.*/"},{"component":"textInput","editable":true,"index":1,"label":"Value","description":"description","placeholder":"Enter Value","options":[],"required":false,"validation":"/.*/"},{"component":"select","editable":true,"index":2,"label":"Select","description":"description","placeholder":"placeholder","options":["KB","MB","GB"],"required":false,"validation":"/.*/"}]

can you please share the code for displaying the form again with this data

@delchev
Copy link

delchev commented Aug 5, 2020

#91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants