Aisha Zafar | 18 Aug 05:56
Favicon

Please help me regarding password validator

hi friends,
I am facing some problem regarding password validator of dojo. my problem is that i can access all of the form fields of signup form on the php page(backend file to submit the fields in database) via post method except password field. Keep in mind that i cant access password field via any method post/get. my html code is
<form name="signup" id="signup" dojoType="dijit.form.Form" onsubmit="javascript: return check_form_validation(this.id);" method="get" action="try2.php">
<div dojoType="dojox.form.PasswordValidator" required="true" jsId="valid6" name="password" >
   
        <label for="pw d" class="firstLabel">Password *</label><input type="password" id="pwd" name="pwd" pwType="new" onchange="alert('Hello');"/><br /><br />
        <label for="rtpwd" class="firstLabel">Retype Password *</label><input type="password" id="pwd2" pwType="verify" />
        </div><br /><button dojoType="dijit.form.Button" id="frmsubmit" type="submit">Create My Account</button><button dojoType="dijit.form.Button" id="frmreset" type="reset">Reset</button></form>
and my php code is

<?php
echo "User Id = ".$_GET['uid'];
echo "First Name = ".$_GET['fname'];
echo "Last Name = ".$_GET['lname'];
echo "Date Of Birth = ".$_GET['dob'];
echo "Gender = ".$_GET['gender'];
echo "Country = ".$_GET['countries'];
echo "State = ".$_GET['states'];
echo "City = ".$_GET['city'];
ech o "Zip = ".$_GET['zip'];
echo "Address = ".$_GET['address'];
echo "Question = ".$_GET['squestion'];
echo "Answer = ".$_GET['sanswer'];
echo "Password = ".$_GET['password'];
?>
Please help me to access password, i will be really thankful to you.
Thanks in advance
Aisha

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
Nicola Rizzo | 18 Aug 11:57

Re: Please help me regarding password validator

Your first password field has name="pwd".
...
echo "Password = ".$_GET['pwd];
...
should work fine.
    Nicola

>         <label for="pwd" class="firstLabel">Password *</label><input
> type="password" id="pwd" name="pwd" pwType="new"
> onchange="alert('Hello');"/><br /><br />
>         <label for="rtpwd" class="firstLabel">Retype Password
> *</label><input type="password" id="pwd2" pwType="verify" />
>         </div><br /><button dojoType="dijit.form.Button" id="frmsubmit"
> type="submit">Create My Account</button><button dojoType="dijit.form.Button"
> id="frmreset" type="reset">Reset</button></form>
> and my php code is
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest

Aisha Zafar | 18 Aug 15:35
Favicon

Re: Please help me regarding password validator

hi,
I have checked it by any way. by giving any method. I have given password, pwd or pwd2. I am getting the same result. but i observed one more thing in the query string probably it is not strange for you but it is strange for me.I am getting query string like this
http://localhost/trials/getpswd.php?passwordd=&=1412679&=1412679
Please help me regarding this if any one.
Thanks in advance
Aisha

--- On Mon, 8/18/08, Nicola Rizzo <nicola.rizzo+dojo <at> gmail.com> wrote:
From: Nicola Rizzo <nicola.rizzo+dojo <at> gmail.com>
Subject: Re: [Dojo-interes t] Please help me regarding password validator
To: dojo-interest <at> dojotoolkit.org
Date: Monday, August 18, 2008, 2:57 AM

Your first password field has name="pwd".
...
echo "Password = ".$_GET['pwd];
...
should work fine.
Nicola


> <label for="pwd"
class="firstLabel">Password *</label><input
> type="password" id="pwd" name="pwd"
pwType="new"
> onchange="alert('Hello');"/><br /><br />
> <label for="rtpwd"
class="firstLabel">Retype Password
> *</label><input type="password" id="pwd2"
pwType="verify" />
> </div><br /><button
dojoType="dijit.form.Button" id="frmsubmit"
> type="submit">Create My Account</button><button
dojoType="dijit.form.Button"
> id="frmreset"
type="reset">Reset</button></form>
> and my php code is
__________ _____________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest

Gmane