0

Hello,
I would require some help with this html form which doesnt send information to the php file which is linked to it
HTML

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>RaffleCP</title>
    <link rel="stylesheet" href="css/body.css"/>

</head>
<body>
<!-- multistep form -->
<form id="msform" action="process.php" method="POST"  >
    <!-- progressbar -->
    <ul id="progressbar">
        <li class="active">Items</li>
        <li>Information</li>
        <li>Finalize</li>
    </ul>
    <!-- fieldsets -->
    <fieldset>
        <h2 class="fs-title">Item to raffle</h2>
        <h3 class="fs-subtitle">Please enter the desired item schema</h3>
        <input type="text" name="item1" placeholder="First item" />
        <input type="text" name="info1" placeholder="Attribute/info" />
        <input type="text" name="item2" placeholder="Second item" />
        <input type="text" name="info2" placeholder="Attribute/info" />
        <input type="text" name="item3" placeholder="Third Item" />
        <input type="text" name="info3" placeholder="Attribute/info" />
        <input type="button" name="next" class="next action-button" value="Next" />
    </fieldset>
    <fieldset>
        <h2 class="fs-title">Information</h2>
        <h3 class="fs-subtitle">Please enter information about raffle</h3>
        <input type="text" name="slots" placeholder="slots" />
        <input type="text" name="No" placeholder="Number of people" />
        <input type="text" name="Duration" placeholder="Duration" />
        <textarea name="otherinfo" placeholder="Other info"></textarea>
        <input type="button" name="previous" class="previous action-button" value="Previous" />
        <input type="button" name="next" class="next action-button" value="Next" />
    </fieldset>
    <fieldset>
        <h2 class="fs-title">Entry Fees</h2>
        <h3 class="fs-subtitle">Please enter the entry fees</h3>
        <input type="text" name="entfees" placeholder="Entry fees in credits" />
        <input type="text" name="entinfo" placeholder="Other Information" />
        <input type="button" name="previous" class="previous action-button" value="Previous" />
        <input type="submit" name="submit" class="submit action-button" value="Submit" />
    </fieldset>
</form>

<!-- jQuery -->
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>

Some help would be really appricated.
Thanks

6
Contributors
6
Replies
41
Views
3 Years
Discussion Span
Last Post by Aleksenator
0

Your form seems OK based on your description. When the submit button is clicked the "process.php" page tries to load.

You need to be more specific about "doesnt send information". Maybe you are not retrieving the posted data correctly?

0

Thanks for the quick responce.
Sorry i didnt mention before that it does not redirect to the linked file i.e. it does'nt load

Edited by kbhat.97

0

Because you dont have the file "process.php" yet.
Just write this file with coresponding php code in it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.