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 8209931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:54:05+00:00 2026-06-07T09:54:05+00:00

I have 2 different xhtml pages. The first one has a similar content with

  • 0

I have 2 different xhtml pages. The first one has a similar content with the second one but when I submit the page, email input in the second code does not except any value and says “Please match the requested format”. What could be the problem here ?

first.xhtml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
    <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
    <link rel="stylesheet" href="css/info_page.css" type="text/css" media="all" />
    <script type="text/javascript">
function validateForm()
{
var x=document.forms["res_sign_up"]["password1"].value;
var y=document.forms["res_sign_up"]["password2"].value;
if ( x != y )
  {
  alert("Sifreleriniz ayni olmalidir.");
  return false;
  }
}
    </script>
    <title></title>
  </head>
  <body> 
    <script type="text/JavaScript" src="css/custom.js"></script>
    <form name="res_sign_up" action="cgi-bin/res_edit_profile.py" onsubmit="return validateForm()"
      method="POST">
      <div id="baslik"> <img src="css/images/profil_duzenle_baslik.png" id="img1" />
        <a href="http://twitter.com/me" class="img2" title="T"></a> </div>
      <br />
      E-mail adresi:
      <p><input type="email" class="text1" name="email" required="required" /></p>
      <p>Şifre:</p>
      <p><input type="password" class="text1" name="password1" required="required" /></p>
      <p>Şifre (tekrar):</p>
      <p><input type="password" class="text1" name="password2" required="required" /></p>
      <p>Restoran Adı:</p>
      <p><input type="text" class="text1" name="isim" required="required" /></p>
      <p>Telefon No:</p>
      <p><input type="tel" class="text1" name="telno" maxlength="10" required="required" /></p>
      <p>İl:</p>
      <p><input type="text" class="text1" name="il" required="required" /></p>
      <p>İlçe:</p>
      <p><input type="text" class="text1" name="ilce" required="required" /></p>
      <p>Semt:</p>
      <p><input type="text" class="text1" name="semt" required="required" /></p>
      <p>Tam Adres:</p>
      <p><input type="text" class="text1" name="tamadres" required="required" /></p>
      <p>Restoran Türü:</p>
      <p>
        <select name="tur" required="required" class="list">
          <option value="cafe">Cafe</option>
          <option value="cinmutfak">Çin Mutfağı</option>
          <option value="deniz">Deniz Ürünler</option>
          <option value="dunya">Dünya Mutfağı</option>
          <option value="ev">Ev Yemekleri</option>
          <option value="fastfood">Fast Food</option>
          <option value="gurme">Gurme</option>
          <option value="italyan">İtalyan Mutfağı</option>
          <option value="japon">Japon Mutfağı</option>
          <option value="kebapturk">Kebap ve Türk Mutfağı</option>
          <option value="kofte">Köfte</option>
          <option value="pasta">Pasta ve Tatlı</option>
          <option value="pide">Pide</option>
          <option value="pizza">Pizza</option>
        </select>
      </p>
      <p>Çalışma Saatleri:</p>
      <p>Pazartesi: <input type="text" class="text1" name="saatler1" value="09:00-22.30"
          required="required" /></p>
      <p> Salı:          <input type="text" class="text1" name="saatler2" value="09:00-22.30"
          required="required" /></p>
      <p> Çarşamba:<input type="text" class="text1" name="saatler3" value="09:00-22.30"
          required="required" /></p>
      <p> Perşembe: <input type="text" class="text1" name="saatler4" value="09:00-22.30"
          required="required" /></p>
      <p> Cuma:       <input type="text" class="text1" name="saatler5" value="09:00-22.30" /></p>
      <p> Cumartesi:<input type="text" class="text1" name="saatler6" value="11:00-22.00"
          required="required" /></p>
      <p> Pazar:       <input type="text" class="text1" name="saatler7" value="-"
          required="required" /></p>
      <p>Rezervasyon Durumu:</p>
      <p>
        <select name="rezervasyon" required="required" class="list">
          <option value="hici">Hafta içi yapılabilir.</option>
          <option value="hsonu">Hafta sonu yapılabilir.</option>
          <option value="htum">Hafta içi ve hafta sonu yapılabilir.</option>
          <option value="yapma">Yapılamaz</option>
        </select>
      </p>
      <p>Ödeme Seçenekleri:</p>
      <input type="checkbox" class="styled" name="payment" value="Nakit" />Nakit<br />
      <input type="checkbox" class="styled" name="payment" value="Kredi Karti" />Kredi
      Kartı<br />
      <input type="checkbox" class="styled" name="payment" value="SmarTicket" />SmarTicket<br />
      <input type="checkbox" class="styled" name="payment" value="Ticket Yemek Ceki" />Ticket
      Yemek Çeki<br />
      <input type="checkbox" class="styled" name="payment" value="PassCard" />PassCard<br />
      <input type="checkbox" class="styled" name="payment" value="Sodexho Yemek Ceki" />Sodexho
      Yemek Çeki<br />
      <input type="checkbox" class="styled" name="payment" value="Multinet" />Multinet<br />
      <input type="checkbox" class="styled" name="payment" value="SetCard" />SetCard<br />
      <input type="checkbox" class="styled" name="payment" value="Winwin Yemek Ceki" />Winwin
      Yemek Çeki
      <p><a href="history.go%28-1%29;return%20true;" class="back" title="T"></a><input
          type="image" class="onay1" formmethod="post" name="myclicker" value="" /></p>
    </form>
  </body>
</html>

second.xhtml(does not submit any values):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>login_page</title>
    <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
    <link rel="stylesheet" href="css/login_page.css" type="text/css" media="all" />
  </head>
  <body>
    <script type="text/JavaScript" src="css/custom.js"></script>
    <form name="res_sign_up" action="cgi-bin/login_check.py"
      method="POST"><img src="css/images/hosgeldiniz.png" /> <img src="css/images/logo.png" />
      <input type="email" pattern="E-mail Adresi" class="login1" name="email" required="required" />
      <input type="password" class="login1" name="password" required="required" />
      <img class="login4" alt="remember" src="css/images/beni_hatirla.png" /> <input
        type="checkbox" class="styled" name="remember" /> <a href="http://twitter.com/me"
        class="login3" title="T"></a> <input type="image" class="login5" formmethod="post"
        name="myclicker" value="" /> <a href="http://twitter.com/me" class="login6"
        title="T"></a> </form>
  </body>
</html>
  • 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-07T09:54:09+00:00Added an answer on June 7, 2026 at 9:54 am

    In your second form you have the following:

    <input type="email" pattern="E-mail Adresi" class="login1" name="email" required="required" />
    

    You have added the pattern="E-mail Adresi" which means the input must match that regular expression. And no valid email address will match the regular expression ‘E-mail Adresi’. I suspect you wanted to add a hint text using placeholder="E-mail Adresi".

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

Sidebar

Related Questions

I have different select boxes. I want to select second one with related id.
I have a form. This form will submit data to 2 different pages. After
In my application I have different Themes - one dark and one bright theme.
I have a page in JQuery mobile, which contains a form. The form has
I have two facelet-pages: customers.xhtml (with a list of customers) and customer.xhtml for detail-view
i've got this jsf code <f:view> <rich:page pageTitle=My Page markupType=xhtml> ... <rich:panel id=content> <a4j:include
I have different Bundles: MainBundle (Homepage), SecurityBundle (Login, Registration), MessageBundle (Message System), ShopBundle. I
I have different values in different classes. I need to insert them in the
I have different blocks of 34 threads each (0...33). I need to find a
I have different php output in jQuery-based tabs. This output is formed from database

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.