Hi,
I am populating a form field with JavaScript which is working OK, but when I try to use the field I can’t find it/use it.
How do I access the field for use in my second screen?
Scenario:
Process X,
Human Step 1,
Form 1,
one text field
Next button
Simple button with code
onclick = "console.log('MyTextGoingIn2');
var ng0 = 'MyTextFieldGoingOut';
$('#TextField1').find('.bonita_form_field').val(ng0);"
When clicking the Simple Button this correctly completes the Textfield1 on the screen
Form 2,
one text field
one submit button
When I click the Next button on Form 1 I expect the data in Textfield1 to be available in Textfield on Form 2 but cannot get this to work.
How do I carry the textfield from form 1 to form 2?
I know I could use separate Human Steps but that would be incorrect use of steps, and defeats the objectives of multiple tied forms…
Trouble is there is no way to set a Bonita Variable with the Next Button (Action) which would carry the TextField data…
Many thanks in advance.
regards