Home Forums Porto Admin Template Form Wizard Problem

This topic contains 9 replies, has 2 voices, and was last updated by  Support 5 months, 1 week ago. This post has been viewed 362 times

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #10028199

    ajaypratap
    Participant

    i am using form wizard for product add
    when i click to submit its show popupmessage not my Pls tell me Why this Problem happening
    isset if(isset($_POST[‘add_button’])) {
    echo “welcome button clickesfsadfasdflkasjflaksjflakjf”;
    }

    <!– start: page –>
    <div class=”row”>
    <div class=”col-lg-6″>
    <section class=”card form-wizard” id=”w1″>
    <header class=”card-header”>
    <div class=”card-actions”>


    </div>

    <h2 class=”card-title”>Form Wizard</h2>
    </header>
    <div class=”card-body card-body-nopadding”>
    <div class=”wizard-tabs”>
    <ul class=”nav wizard-steps”>
    <li class=”nav-item active”>

    <span class=”badge”>1</span>
    Adfasdfasccount

    <li class=”nav-item”>

    <span class=”badge”>2</span>
    Profile

    <li class=”nav-item”>

    <span class=”badge”>3</span>
    Confirm

    </div>
    <form class=”form-horizontal” novalidate=”novalidate”>
    <div class=”tab-content”>
    <div id=”w1-account” class=”tab-pane p-3 active”>
    <div class=”form-group row”>
    <label class=”col-sm-4 control-label text-sm-right pt-1″ for=”w1-username”>Username</label>
    <div class=”col-sm-8″>
    <input type=”text” class=”form-control” name=”username” id=”w1-username” required>
    </div>
    </div>
    <div class=”form-group row”>
    <label class=”col-sm-4 control-label text-sm-right pt-1″ for=”w1-password”>Password</label>
    <div class=”col-sm-8″>
    <input type=”password” class=”form-control” name=”password” id=”w1-password” minlength=”6″ required>
    </div>
    </div>
    </div>
    <div id=”w1-profile” class=”tab-pane p-3″>
    <div class=”form-group row”>
    <label class=”col-sm-4 control-label text-sm-right pt-1″ for=”w1-first-name”>First Name</label>
    <div class=”col-sm-8″>
    <input type=”text” class=”form-control” name=”first-name” id=”w1-first-name” required>
    </div>
    </div>
    <div class=”form-group row”>
    <label class=”col-sm-4 control-label text-sm-right pt-1″ for=”w1-last-name”>Last Name</label>
    <div class=”col-sm-8″>
    <input type=”text” class=”form-control” name=”last-name” id=”w1-last-name” required>
    </div>
    </div>
    </div>
    <div id=”w1-confirm” class=”tab-pane p-3″>
    <div class=”form-group row”>
    <label class=”col-sm-4 control-label text-sm-right pt-1″ for=”w1-email”>Email</label>
    <div class=”col-sm-8″>
    <input type=”text” class=”form-control” name=”email” id=”w1-email” required>
    </div>
    </div>
    <div class=”form-group row”>
    <div class=”col-sm-2″></div>
    <div class=”col-sm-10″>
    <div class=”checkbox-custom”>
    <input type=”checkbox” name=”terms” id=”w1-terms” required>
    <label for=”w1-terms”>I agree to the terms of service</label>
    </div>
    </div>
    </div>
    </div>
    </div>
    </form>
    </div>
    <div class=”card-footer”>

    <h1>

    <?php

    if(isset($_POST[‘add_button’])) {
    echo “welcome button clickesfsadfasdflkasjflaksjflakjf”;
    }

    ?>
    </h1>

    <form method=”post” action=””>

    <ul class=”pager”>
    <li class=”previous disabled”>
    <i class=”fas fa-angle-left”></i> Prefdsdfsdfadsfafavious

    <li class=”finish hidden float-right”>
    <input type=”submit” name=”add_button” class=”btn btn-primary”>

    <li class=”next”>
    Next <i class=”fas fa-angle-right”></i>

    </form>

    </div>
    </section>
    </div>


    • This topic was modified 5 months, 1 week ago by  ajaypratap.

    Template Version: 2.1.1
    #10028201

    ajaypratap
    Participant

    hii author can you check this ?????????????????????


    #10028202

    Support
    Keymaster

    Hello, I’m sorry but we are very confused about this topic, could you please send us more instructions on how to reproduce the problem?

    Best Regards,

    Okler Themes


    #10028203

    ajaypratap
    Participant

    i am building form-wizard for my project and then i use name on finish button
    and trying to echo the isset value and i didnt get any value


    #10028207

    Support
    Keymaster

    Hello,

    Please check the file: js/examples/examples.wizard.js – Line 32.

    You will see that file has the behavior when the form is completed, there will need to change and add anything you want (redirect or another popup message, etc…)

    Also, please change the for to have “method” and “action”. Example:

    <form class="form-horizontal" novalidate="novalidate" action="forms-wizard.php" method="post">

    Best Regards,

    Okler Themes.


    #10028208

    ajaypratap
    Participant

    yes this file included file: js/examples/examples.wizard.js

    i have this ???????
    <form class="form-horizontal p-3" action="" method="POST" novalidate="novalidate">


    #10028209

    Support
    Keymaster

    You mentioned about the success message, this is the default popup message:

    There you need to change to show another message or just make an ajax post or redirect to a “success” page.

    The popup is just an example.


    #10028210

    ajaypratap
    Participant

    Because of your validation i cant add my codes here so i send u mail pls check it emailid: ankupran@gmail.com


    #10028212

    Support
    Keymaster
    This reply has been marked as private.
    #10028216

    Support
    Keymaster

    If possible send us a link so we can check for that problem. We still could not reproduce and understand the problem.


Viewing 10 posts - 1 through 10 (of 10 total)