We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm using the fromXML and toHTML to convert an XML form to HTML and add it to my webpage.
However, I noticed that the form has no way of being tracked, and as no button is automatically added I have no way to submit it that I know of.
My form is created as follows:
form data-type="result" ….
Ideally it would be created as:
form data-type="result" id="some-id" onsumbit="some function();" ...
Is there something I am missing in strophe.x.js which would add the ID? Or is this not part of the plugin?
Thank you.
Kind Regards,
Gary Shergill
edit: for reference, I am using the below commands to create the form:
var iqForm = Form.fromXML(iq); var iqHtml = iqForm.toHTML(); $("#form-here-div").append(iqHtml);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm using the fromXML and toHTML to convert an XML form to HTML and add it to my webpage.
However, I noticed that the form has no way of being tracked, and as no button is automatically added I have no way to submit it that I know of.
My form is created as follows:
form data-type="result"
….
Ideally it would be created as:
form data-type="result" id="some-id" onsumbit="some function();"
...
Is there something I am missing in strophe.x.js which would add the ID? Or is this not part of the plugin?
Thank you.
Kind Regards,
Gary Shergill
edit: for reference, I am using the below commands to create the form:
var iqForm = Form.fromXML(iq);
var iqHtml = iqForm.toHTML();
$("#form-here-div").append(iqHtml);
The text was updated successfully, but these errors were encountered: