Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9154617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:27:21+00:00 2026-06-17T12:27:21+00:00

<form id=form_save_account action=. method=post> <div style=display:none><input type=hidden name=csrfmiddlewaretoken value=618376f08ab0b6f255442d9519ec656a /></div> <div class=container /> <div

  • 0
<form id="form_save_account" action="." method="post">
   <div style="display:none"><input type="hidden" name="csrfmiddlewaretoken" value="618376f08ab0b6f255442d9519ec656a" /></div>
   <div class="container" />
   <div class="row" />
   <div class="span5" />

<div class="id_account_owner-control-group control-group required">
      <label class="control-label" for="id_account_owner"> account owner </label>
      <div class="controls">
         <input id="id_account_owner" type="text" name="account_owner" maxlength="250" />
      </div>
   </div>

<div class="id_account_number-control-group control-group required">
      <label class="control-label" for="id_account_number"> account number </label>
      <div class="controls">
         <input id="id_account_number" type="text" name="account_number" maxlength="34" />
      </div>
   </div>

<div class="span1 offset10">
      <a type="submit" name"save-continue-to-review" data-toggle="modal" data-target="#dialog" href="" class="btn primary btn-primary" title="Go">Go
      </a>
   </div>
</form


<script>

...

</script>

How to create something like this:

If user do not type all the data in inputs that dialog modal from this:

  <a type="submit" name"save-continue-to-review" data-toggle="modal" data-target="#dialog" href="" class="btn primary btn-primary" title="Go">Go
  </a>

will not be displayed?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:27:22+00:00Added an answer on June 17, 2026 at 12:27 pm

    I think you need to have client side validation for all input fields on submit.
    Add onclick event on submit. For ex:

    <a type="submit" onclick="javascript:yourFunctionName();" name"save-continue-to-review" data-toggle="modal" data-target="#dialog" href="" class="btn primary btn-primary" title="Go">Go
    

    and in JS file just define the function as :

    function yourFunctionName(){
        var account_owner = document.getElementById(id_account_owner).value;
        var account_no    = document.getElementById(id_account_number).value;
        if(account_no == '' || account_owner == ''){
            return false;
        }
    }
    

    Check here for more info.

    I think it will help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Example to save gender <form action=save.php?id=<?=$id?> method=post> <p><label><input name=gender type=radio value=male <?php if($gender=='male'){?>checked=checked<? }?>
I have a form with the following HTML below: <form id=course_edit_form name=course_form action=/courses/save method=post>
my template looks like: <form method=post action=> {{ formset.management_form }} {% for form in
The error occurs here: if request.method == 'POST': form = RegisterForm(request.POST) if form.is_valid(): clean
I have want to save a form in Symfony2, based on a form type,
I have a method in my AccountController like @RequestMapping(method = { RequestMethod.POST, RequestMethod.PUT })
I've got a simple html form with a few input boxes. When i click
I have added 2 custom attributes to the registration form to collect input from
How do I specify the Controller and Action in a form submission? I am
my function puts the correct value into the form for my view but doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.