Hello every one,
I am currently trying to autosubmit a form node composed of a "Number" field.
This number field is auto-completed by a Javascript code added with a template node.
This part is correctly working :
document.getElementsByTagName('input')[0].value='1234';
But when I try to click on the submit button (manually or with a JS call to submit() on the form object), the interface does not detect the value 1234 and act as if the numeric field is empty.
I have to select the input field, add a random character, delete it and submit the form.
Can you help me to understand what's wrong ?
My idea is to submit the form with :
document.getElementsByTagName('form')[0].submit();
Thanks in advance.