XForms to XHTML+Javascript (AJAX) conversion based on a unique XSL transformation. Suitable server-side (PHP) or client-side (Google Chrome, Edge, Internet Explorer, Mozilla FireFox, Opera, Safari) browser treatment where an XSLT 1.0 engine is available
I have been working with XSLTForms 1.3 recently, and it is a very useful tool, so thank you for your work.
Coming from JavaScript, I quickly found several aspects where a better JavaScript integration would allow for more uses, form submissions for example, as far as I understand (and there's a big chance I am wrong), the data you get from a submission can be set to an instance, can replace the page, or can be opened as a new page (tab/window).
It would have been nice if there was an option to pass the data to a JavaScript function, so the developer can use that data any way they like.
Another thing I have tried to do and I think it's not possible yet (or maybe I just couldn't figure out how to do it), is to set a uri to the newly opened window from the submission, which I think it can be handy for sharing for example.
Please let me know if there's way to do these, and if not, I am happy to make PRs with these features.
Hi Alain,
I have been working with XSLTForms 1.3 recently, and it is a very useful tool, so thank you for your work.
Coming from JavaScript, I quickly found several aspects where a better JavaScript integration would allow for more uses, form submissions for example, as far as I understand (and there's a big chance I am wrong), the data you get from a submission can be set to an instance, can replace the page, or can be opened as a new page (tab/window).
It would have been nice if there was an option to pass the data to a JavaScript function, so the developer can use that data any way they like.
Another thing I have tried to do and I think it's not possible yet (or maybe I just couldn't figure out how to do it), is to set a uri to the newly opened window from the submission, which I think it can be handy for sharing for example.
Please let me know if there's way to do these, and if not, I am happy to make PRs with these features.