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

Add custom form built into app. #3

Closed
gmh04 opened this issue Nov 7, 2014 · 5 comments
Closed

Add custom form built into app. #3

gmh04 opened this issue Nov 7, 2014 · 5 comments
Assignees

Comments

@gmh04
Copy link
Contributor

gmh04 commented Nov 7, 2014

No description provided.

@benismobile
Copy link

note - even if the form is preloaded the client should be able to update and edit the form using their version of the authoring tool. Is that going to be tricky?

@gmh04
Copy link
Contributor Author

gmh04 commented Nov 7, 2014

We could deploy the app with a form that gets copied to custom forms directory on start up. This will get replaced after doing a Download Editors.

@benismobile
Copy link

sounds good.

@gmh04
Copy link
Contributor Author

gmh04 commented Nov 10, 2014

Ruben, in the old day if you added a form to the assets/editors directory it appeared in the Custom Forms section in the capture page. This use case requires us to do this (initially without using sync) but it doesn't work. I think I understand the need for saving editor metadata in localstorage for COBWEB, but I'm not sure if we need this generally. I need help with this.

gmh04 pushed a commit that referenced this issue Nov 10, 2014
gmh04 pushed a commit that referenced this issue Nov 10, 2014
@rgamez
Copy link

rgamez commented Nov 10, 2014

George, you are right that the requirement came from cobweb, but I think is more a general requirement for any plugin that needs to extract information from the forms at download time, for instance for downloading extra assets or prepare special forms (like the decision tree), I didn't consider the case of custom built in forms but I can add a function that parse the forms directory at launch time and updates the metadata in localstorage in a similar fashion as it's done when the forms are downloaded.

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

No branches or pull requests

3 participants