You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2018/07/28 13:29:00 UTC
[jira] [Comment Edited] (OFBIZ-10482) Use input type="submit" for
form submission
[ https://issues.apache.org/jira/browse/OFBIZ-10482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560756#comment-16560756 ]
Deepak Dixit edited comment on OFBIZ-10482 at 7/28/18 1:28 PM:
---------------------------------------------------------------
Used input type="submit" instead of anchor and javascript code to submit form where applicable at r#1836905, this partial work many more commits in queue.
was (Author: deepak.dixit):
Used input type="submit" instead of anchor and javascript code to submit form where applicable at r#1836905
> Use input type="submit" for form submission
> --------------------------------------------
>
> Key: OFBIZ-10482
> URL: https://issues.apache.org/jira/browse/OFBIZ-10482
> Project: OFBiz
> Issue Type: Improvement
> Reporter: Deepak Dixit
> Assignee: Deepak Dixit
> Priority: Major
>
> As per current implementation following pattern is used to submit a form
> {code}
> <a href="javascript:document.getElementById('<formId>').submit();" >.......</a>
> or
> <a href='javascript:document.<formName>.submit();>..........</a>
> {code}
> Instead, we can use input type="submit" if submit button is inside the form, at some places we need to still use javascript pattern to submit the form as we have a button outside the form
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)