You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not really a Jsonform question, but a Javascript question about using forms ...
I have a jsonform custom select field with a datalist. If the user enters a unknown value, I want to present a new form so that he can enter more information about the new value.
I have created the new page with a new seperate Jsonform in newStoreForm.html.
When the user enters an unkown value I do:
window.location = "newStoreForm.html";
In the onSubmit() of the newStoreForm I do:
window.history.back(); return false;
I go back but all my previous info is gone and the original page is reloaded...
(By the way, I am running all this locally without a server in node-webkit http://nwjs.io/.)
Is there a way to achieve this functionality without manually storing the whole state of the main page and rebuilding it manually?
Maybe use the newStoreForm jsonform in jquery Dialog?
Any examples?
thanks,
Peter
The text was updated successfully, but these errors were encountered:
This is not really a Jsonform question, but a Javascript question about
using forms ...
I have a jsonform custom select field with a datalist. If the user enters
a unknown value, I want to present a new form so that he can enter more
information about the new value.
I have created the new page with a new seperate Jsonform in
newStoreForm.html.
When the user enters an unkown value I do:
window.location = "newStoreForm.html";
In the onSubmit() of the newStoreForm I do:
window.history.back(); return false;
I go back but all my previous info is gone and the original page is
reloaded...
(By the way, I am running all this locally without a server in node-webkit http://nwjs.io/.)
Is there a way to achieve this functionality without manually storing the
whole state of the main page and rebuilding it manually?
Maybe use the newStoreForm jsonform in jquery Dialog?
Any examples?
thanks,
Peter
—
Reply to this email directly or view it on GitHub #7.
Hi,
This is not really a Jsonform question, but a Javascript question about using forms ...
I have a jsonform custom select field with a datalist. If the user enters a unknown value, I want to present a new form so that he can enter more information about the new value.
I have created the new page with a new seperate Jsonform in newStoreForm.html.
When the user enters an unkown value I do:
window.location = "newStoreForm.html";
In the onSubmit() of the newStoreForm I do:
window.history.back(); return false;
I go back but all my previous info is gone and the original page is reloaded...
(By the way, I am running all this locally without a server in node-webkit http://nwjs.io/.)
Is there a way to achieve this functionality without manually storing the whole state of the main page and rebuilding it manually?
Maybe use the newStoreForm jsonform in jquery Dialog?
Any examples?
thanks,
Peter
The text was updated successfully, but these errors were encountered: