gx_SubmitKey('[ENTER]') does'nt work!!!

Hi!

If we put this command
[gx:input id=“localFile” type=“file” value="" ][/gx:input]"
into AP0015.jsp(we made it with "Generat"bottom. ),
gx_SubmitKey(’[ENTER]’) does’nt work!!!
and the same screen redisplayed again.

If we don’t put this upload command, this
gx_SubmitKey(’[ENTER]’) does work.

Please let us know how to solve this ploblem.

If we cannot solve this problem, our customer has to log out each time after uploading some file.


<RPG pgm>
1.LOGIN → 2.MAINMENU → 3.file upload Menu
1,2 are instant.jsp
3.is JSP we made with ApplinX
If we execute RPG pgm, after doing 3.file upload Menu with ENTER key we can go back to 2.MAINMENU.

<AP0015.jsp(GENERAT)>
・「BACK」bottom only pattern
[input type=“SUBMIT” NAME=“SUBMIT” VALUE=“BACK” onClick=“javascript:gx_SubmitKey(’[ENTER]’);”]

:arrow: after 「BACK」bottom, go back to 2.MAINMENU :smiley:

<AP0015.jsp(GENERAT)>
・add file upload command pattern
[gx:input id=“localFile” type=“file” value="" size=“50”][/gx:input]
[input type=“SUBMIT” NAME=“SUBMIT” VALUE=“BACK” onClick=“javascript:gx_SubmitKey(’[ENTER]’);”]

:arrow: after 「BACK」bottom, redisplay 3.file upload menu again. :cry:

Hi,
Please try to remove the