Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello every body i have used bootstrap wizard in my project with html form and inside it i used mvc Html.BeginForm and i post data and works fine there is no any problem except when i add apart of multi uploader i always get it null files but post the other data is OK when i remove html form tag it upload works but the wizard stopped this is my trial if there any suggestion

What I have tried:

<div class="tabbable-line tabbable-full-width" id="form_wizard_1">


<form class="form-horizontal" action="#" id="submit_form" method="POST">


    <div class="tab-content">

        <div class="alert alert-danger display-none">
            <button class="close" data-dismiss="alert"></button> text
        </div>



        <div class="row profile-account">

            <div class="col-md-3">


                        <ul class="ver-inline-menu tabbable margin-bottom-10">
                            <li class="active">
                                <a data-toggle="tab" href="#tab1">
                                    class="fa fa-cog" style="padding: 0" id="tab1"> back
            </a>
            <a href="javascript:;" class="btn btn-outline blue button-next">
                go on
                ^__i class="fa fa-angle-right">
            </a>
            <button type="submit" class="btn blue button-submit">
                save
                ^__i class="fa fa-check">
            </button>
    
        </div>
    </div>
</div>
Posted
Updated 13-Nov-17 7:38am
Comments
Suvendu Shekhar Giri 13-Nov-17 5:48am    
Try putting the form end tag after the submit button.
MR.alaa 13-Nov-17 6:40am    
i already put it at the end of the tag
but still past all values except files values always null
MR.alaa 13-Nov-17 6:57am    
thanks I have solved it by removing html form and add the button inside of mvc form
Suvendu Shekhar Giri 13-Nov-17 7:41am    
Great! Please that as an answer and accept you own answer as solution so that it will be removed from the unanswered questions list and it also can others.

Thanks :)

1 solution

I have solved it by removing html form and add the button inside of mvc form
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900