Input button - Custom New Form -- modal window bootstrap

I have a button on a custom ASPX page that is opening a modal for a Custom New Form
<button type="button" class="btn btn-primary btn-small" data-toggle="modal" data-target="#MeetingModal" href="http://itsusmpw00799:56789/prd/hcctesting/Pages/pharmslt_new.aspx">Add Meeting</button>

Open in new window

This opens the form fine and I can enter all the fields... when I select submit it does the redirect correctly but it is not commiting the values to a new entry in the List. Can anyone advise what component I am missing?  Here is the submit button code

<input type="button" class="btn btn-default" value="Save" onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/prd/hcctesting/Pages/pharmslt.aspx}')};"/>	

Open in new window

aehrenwoTechnology AnalystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

try this:
<script src="~/Scripts/jquery-1.9.1.min.js"></script>
<script src="~/Scripts/bootstrap.min.js"></script>
<link href="~/Content/bootstrap.min.css" rel="stylesheet" />
<link href="~/Content/bootstrap-theme.min.css" rel="stylesheet" />

<button type="button" class="btn btn-primary btn-small" data-toggle="modal"
    data-target="#MeetingModal">Add Meeting</button>

@using (Html.BeginForm("FIndex", "Home", new { idx = "2" }, FormMethod.Post))

   <!-- Modal -->
<div class="modal fade" id="MeetingModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" 
    <input type="submit" class="btn btn-default" value="Save" />

Open in new window

        public ActionResult FIndex(string idx)
            string captureValue = Request["txtamount"].ToString();
            return View();

Open in new window

public ActionResult FIndex()
                       return View();

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.