Jason Johnston wrote:

Duncan McLean wrote:
Hi

Couple of question about submitId.

1) Is it possible to have a submit generated by a link on a form
subsequently generate a submitid which can be tested by flow - if so, how?

For example, something like this submits a form succcessfully, but I cannot
then determine the submitId in flowscript (returns null).
<a href="Javascript:document.myform.submit()" id="mySubmit"
name="mySubmit">Next page</a>

If you use <fi:styling type="link"/> on your submit widget it will
generate a link with the proper JS for submitting and setting the submitId.

2) Also used a button to submit form and had trouble detecting the
submitId (returns null), example:
<input type="submit" id="nextpage" name="nextpage" value="next page"/>

Make sure you have a <fd:submit id="nextpage"> in your form definition.
The form.submitId will only get set if there is a matching submit widget.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Thanks very much!

Duncan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]