Sign in to follow this  
Followers 0
BaoChauEA

_FFFormSubmit "Form have 2 input submit" need your help

4 posts in this topic

#1 ·  Posted

Quote

<form name="sps" id="sps-form" method="post" action="abc" class="a-spacing-none">
    <div class="a-fixed-right-grid-col a-col-left redeem-gc-left">
        <input  value="Apply" data-testid="" type="submit">
    </div>
    <div>
        <input title="" class="a-button-text" value="submit" name="action"  type="submit">
    </div>
</form>

This is my code:

_FFFormSubmit("sps-form","id") ;

it run but can't submit form...

 

Share this post


Link to post
Share on other sites



#2 ·  Posted

The default for the third parameter $sSubmitMode is 'submit', which causes the form's submit function to be executed. Perhaps one of the other modes, such as 'click' would work better in your instance.

Share this post


Link to post
Share on other sites

#3 ·  Posted

I've do it and form has submited but i see it only refresh page. I  need submit from  <input title="" class="a-button-text" value="submit" name="action"  type="submit"> .

Thank's

Share this post


Link to post
Share on other sites

#4 ·  Posted

Show us your code with your latest attempt. If possible, share the URL.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0