PHP registration page help!!

Hi, I am in the process of redesigning my union's website to
include a member area. Here's my problem...
I already have a database for our union members. What I want
to do is to be able to have register using data that I already have
for them in a table: Last Name, First Name, Date of Birth, Last 4
digits of SSN. There will also be fields for user name and password
(which will originally be blank in the table). When the user hits
the submit button, the form data needs to compare those first 4
submitted fields to the corresponding ones in the existing table
(much the same way a credit card company might do with an existing
account). If the data submitted matches what's in the table, the
user name and password submitted in the form are written to the
table and the user should be redirected to a login page.
How should i go about building such a registration page??
Help!!! ???
Thanks,
rborc415

rborc415 wrote:
> I've been knocking around with what you suggested and
I'm kind of flying blind
> at this point... could I ask you to be a little more
specific?
Basically, what you are doing is creating a search page. If
the search
produces a result, you want to display an update form. You
can either do
it all in one page, and control what it displayed with
conditional
logic, or you can use session variables pass the information
from one
page to the next.
The basic way to do it with separate pages is to create a
search form in
page 1. Get the user to enter the four items. Send the form
using the
GET method to page 2.
In page 2, create a recordset to search for the record, using
the $_GET
variables. If the recordset is empty, display a message
saying "record
not found". If the recordset is not empty, display the
results in an
update form, using readonly fields for the already-registered
values.
Use ordinary text fields for the items you want the user to
fill in.
Apply an Update Record server behavior.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • PHP registration page

    Hi, I am in the process of redesigning my union's website to
    include a member area. Here's my problem...
    I already have a database for our union members. What I want
    to do is to be able to have register using data that I already have
    for them in a table: Last Name, First Name, Date of Birth, Last 4
    digits of SSN. There will also be fields for user name and password
    (which will originally be blank in the table). When the user hits
    the submit button, the form data needs to compare those first 4
    submitted fields to the corresponding ones in the existing table
    (much the same way a credit card company might do with an existing
    account). If the data submitted matches what's in the table, the
    user name and password submitted in the form are written to the
    table and the user should be redirected to a login page.
    How should i go about building such a registration page??
    Help!!! ???
    Thanks,
    rborc415

    rborc415 wrote:
    > Hi, I am in the process of redesigning my union's
    website to include a member
    > area. Here's my problem...
    Please don't post the same message in more than one forum. I
    have
    answered you in the Dreamweaver AppDev forum.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How do I compensate for only one ADDT ' tNG_config.inc.php file with many Registration pages to build?

    My dynamic site has a lot of different languages funneled into one website, using various cookies, url params, php includes, etc. all to obtain similar info in different languages. Thank you David Powers.
    It is working really well and now I’ve come to the Registration section. Okay, so registration isn’t all that hard; I could do most of it with the standard Dreamweaver set of tools. Alas, I really like much of what ADDT has to offer with welcome email messages and activation and such.
    Here’s the setup: Obviously, with many different language people, I have many different databases for them. I did that becuase we’re expecting a big audience and I really don’t want to have all those different language names in the same table. Furthermore, these tables, whereby the students will login, will also contain a lot of information about their work so again, don’t want to have one massive table. I’ve divvied them up into tables by language and I’m using those tables to keep track of them and their work.
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings.
    Here’s my situation: I notice that when I’m done with the configuring of one of the registration pages, I’m asked if I want to upload the tNG_config.inc.php page and that it has changed since the last upload. I saved a copy of the _config.inc.php and did a new registration form with the same info and when done, I compared the two _config.inc.php files. As one would guess, there is a small difference in the Connection string to the databases  $tNG_login_config["connexction"] = "connString_Ital_db".
    My problem is that I have 13 of these registration pages to do but ADDT only has the one tNG_config.inc.php. That’ll work great for the one with which it is associated, but the others will obviously break. I’ve looked through the code in the Registration pages, to find the ADDT link to the tNG_config.inc.php file hoping to rename it Italian, Spanish, etc, but the name of the file does not appear in the Registration page.  I realize that ADDT Control panel is designed for use on one site, and can then be used on others, with the changes etc. But my site seems a little unique since so many sites are actually in one.
    Has anyone whipped this problem before? I just don’t understand why there is no link in the head code of the Registration page to let me change it and to create more config files with different names. Thanks for you help!
    [Moved by moderator to appropriate forum]

    Hi Brian,
    I just tried to check all of ADDT´s "includes" files for any internal references (read: "require" or "require_once" statements) to the file "tNG_config.inc.php". So far I can only see this file referenced in the file "tNG.inc.php" (within the "$KT_tNG_uploadFileList1" array).
    So what could this mean ? Maybe you´ll have to make copies of the the original "tNG.inc.php" as well and save them as, say, "tNG.inc_ital.php" file plus make sure that these copies internally point to a different "tNG_config_ital.inc.php" file -- because it´s always the first mentioned file which gets referenced from e.g. an ADDT login page (see the "Load the tNG classes" - part)
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings
    The Control Panel will always update the main "tNG_config.inc.php" file, so any further modifications will have to become manually applied to the custom files you´re creating.
    Cheers,
    Günter

  • Help with registration page

    Hi, I had a couple of questions with making a registration
    page. First, I'm having trouble figuring out how to make it so that
    when someone submits there email address, it has to be a valid one
    to continue, or even just an email address to begin with. Also, how
    to prevent a user from using numbers when a user types in their
    name as well as not let them type less than 3 characters. My last
    question if anyone can answer it is how do you send an email to the
    user after they submit the form, and make it so they have to click
    on a link before they can access the website, so that what they put
    in the form does not go into my database until they have clicked
    the link. Thanks, sorry for asking so many questions, any help for
    any of the questions would be greatly appreciated.

    The fundamental problem is that the OP is asking questions about Servlet and JSP development without fully understanding the basics of containers and the rendezvous method of data sharing, life-cycle, data scope, and the like.
    It is better that (s)he read up on the basics.

  • Need help with php registration form! (Dreamweaver cs5)

    Im creating an advanced php registration form in dreamweaver. I need the following code for:
    ZIP / Postal code, date of birth.
                      or
    if u can help me how to create the entire form with the following fields That will be nice! Im a Newbie:
    First name, lastname, country, zip / postal code, date of birth, username, password, email, verified, and token.
    This is the database i have in mysql:
    User_id, INT, (10), UNSIGNED, NOT NULL, A_INCREMENT
    Firstname, VARCHAR, (50), NOT NULL
    Lastname, VARCHAR, (50), NOT NULL
    Country, VARCHAR, (20), NOT NULL
    Zip, INT, (12), NOT NULL
    Birth_date, DATE, NOT NULL    
    Username, VARCHAR, (15), NOT NULL
    Password, VARCHAR, (40), NOT NULL
    Email, VARCHAR, (100), NOT NULL
    Verified, ENUM, ('n','y'), NOT NULL
    Token, VARCHAR, (40), NOT NULL
    I need to know how to apply the insert recorset server behavior in dreamweaver cs5 so I can get it to run.
    I have been trying diff ways and i just can't get it right.
    Please help! Thanks!!!

    I'm not sure how much you know but first you have to connect your form to the database
    $con = mysql_connect("hostname","admin_name","password");
    Then you have to choose the database you want information be added to.
    mysql_select_db("database name goes here", $con);
    Then you have to write an sql function which will write it in the appropiate columns in your database
    $sql="INSERT INTO what column e.g members (First name, Last name, age, etc)
    VALUES (the names of the textfields on your form), actually double check that part
    ('$_POST[firstname]','$_POST[lastname]','$_POST[age]')";
    $result = mysql_query($sql);
    This is the first and most basic part just to give you an idea how it works.
    Within these snippets you will have to write much more which will beef up the security aswell as check if everything has been entered correctly etc

  • Help in jsp registration page/form

    hello! i am new with jsp. and i am having problems with my registration page. i does't seem to add data into my database and worse, it doesn't seem to connect to the database. appreciate the help. thanks.
    registration.jsp
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@ page import="java.sql.*" %>
    <%
        String connectionURL = "jdbc:mysql://localhost:3306/petdepot?user=root&password=12345";
        Connection connection = null;
        Statement statement = null;
        ResultSet rs = null;
        Class.forName("com.mysql.jdbc.Driver").newInstance();
        connection = DriverManager.getConnection(connectionURL, "root", "12345");
        statement = connection.createStatement();
    %>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Pet Depot</title>
    </head>
    <body>
    <%
        String uname = "";
        String pwrd = "";
        String pwrd2 = "";
        String dbname = "";
        String dbaddress = "";
        String dbcontactNo = "";
        String dbemailAd= "";
        String dbnote="";
        String username = request.getParameter("username");
        String password = request.getParameter("password");
        String password2 = request.getParameter("password2");
        String name = request.getParameter("name");
        String address = request.getParameter("address");
        String emailAd = request.getParameter("emailAd");
        String contactNo = request.getParameter("contactNo");
        String note="";
        if ((username!=null)&&(password!=null))
                if ((username== "")||(password== "") ||(name== "")|| (address== "") || (emailAd== "")||(contactNo== "") )
                    note = "Please complete all the fields.";
                if ((username== "")&& (password== "") && (name== "")&& (address== "") && (emailAd== "")&& (contactNo== "") )
                    note = "You did not enter any information. Fill-up the form to register.";
                else if ((username!= "")&& (password!= "") && (password2!= "") &&(name!= "") && (address!= "") && (emailAd!= "") && (contactNo!= "") )
                    int pwdOneLength = password.length();
                    int pwdTwoLength = password2.length();
                    if (pwdOneLength == pwdTwoLength )
                        if ((pwdOneLength >= 6))
                            if (password.equals(password2))
                                String found = "NO" ;
                                rs = statement.executeQuery("Select * from useraccounts where username = '"+username+"' ");
                                try{
                                while(rs.next())
                                    found = "YES";                             
                                }catch(SQLException e){out.println(e.getMessage());}
                                if ( found.equals("NO"))
                                        statement.executeUpdate("Insert into useraccounts (username, password) values('"+username+"','"+password+"'");
                                        statement.executeUpdate("Insert into userprofile (name,address,contactNo, EmailAd) values ('"+name+"','"+address+"', '"+contactNo+"', '"+emailAd+"'");
                                        username = "";
                                        password = "";
                                        password2 = "";
                                        name = "";
                                        address = "";
                                        emailAd = "";
                                        contactNo = "";    
                                else
                                    note = " <span class=\"style1\">The username you entered is already in use. Change your username </span> ";
                            else
                                note = " <span class=\"style1\">Please enter the password and the password confirmation correctly.</span> ";
                    if ((username== null)|| (password== null) || (address== null) || (name== null) || (emailAd== null) || (contactNo== null) )
                password = "";       
                password2 = "";
                if (username== null)
               {    username = ""; }
                if (address== null)
                {  address = ""; }
                if (name== null)
                {  name = ""; }
                if (contactNo== null)
                {  contactNo = ""; }
                if (emailAd == null)
                {  emailAd = ""; }
    %>
           <p>REGISTRATION FORM   <br> <br> <%= note %></p>
           <p>Fill-up all the fields below and click the SUBMIT button </p>
    <form id="form1" name="form1" method="post" action="">
      <label>username: 
      <input name="username" type="text" id="username" /></label>
      <p>
        <label>password:
        <input name="password" type="password" id="password" />
        </label>
    </p>
      <p>
        <label></label>
      </p>
      <p>
        <label>Name:
        <input name="name" type="text" id="name" />
        </label>
    </p>
      <p>
        <label></label>Address:
        <input name="address" type="text" id="address" />
      </p>
      <p>Email Address:
        <input name="emailAd" type="text" id="emailAd" />
      </p>
      <p>ContactNos:
        <input name="contactNo" type="text" id="contactNo" />
    </p>
      <p> </p>
      <p> </p>
      <table width="396" border="0">
        <tr>
          <td width="46"> </td>
          <td width="144"><input name="uname" type="text" id="uname" /></td>
        </tr>
        <tr>
          <td> </td>
          <td> </td>
        </tr>
      </table>
      <p>   </p>
      <p>
        <label>
        <input type="submit" name="Submit" value="Submit" />
        </label>
      </p>
    </form>
    </body>
    </html>

    String connectionURL = "jdbc:mysql://localhost:3306/petdepot?user=root&password=12345";The connectionURL is WRONG
    Probably it could be like ..
    String connectionURL = "jdbc:mysql://localhost:3306/petdepot"
    I hope petdepot is your DB name and mysql is installed locally on your machine.
    Class.forName("com.mysql.jdbc.Driver").newInstance();Remove .newInstance() and it should be ..
    Class.forName("com.mysql.jdbc.Driver");
    I suggest you make a java bean for DBConnection as below ..
    package yourpackage;
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.SQLException;
    * The class file will be responsible for returning the database connection information.
    * @author Rohit Kumar
    * @version 1.0
    * @date 17-Dec-2004
    public class DbConnection
         * This method shall be used for getting Client Connection.
         * @return Connection
         * @throws Exception
        public Connection getClientConnection() throws Exception
            try
                Class.forName(ApplicationPropertyRead.getProperty("DBDRIVER"));
            catch (Exception e)
                System.out.println("Exception :"+e);
            Connection oCon=DriverManager.getConnection(ApplicationPropertyRead.getProperty("DBURL"),
                                                        ApplicationPropertyRead.getProperty("DBUSER"),
                                                        ApplicationPropertyRead.getProperty("DBPASSWORD"));
            return oCon;
    }Instead of my method call ApplicationPropertyRead.getProperty("..") you may hardcode it for now as you are learning JSP.
    Then check if your connection is successful or not in your JSP.
    <%@ page import="yourpackage.DbConnection*" %>
    <%
    DbConnection dbConn = new DbConnection()
    Connection connection = null;
    try
         Connection connection = dbConn.getClientConnection();
        System.out.println("connection :"connection);
    catch (Exception e)
        System.out.println("Exception Error :" + e);
    finally
         if (connection != null)
              connection.close();
    %>Only if the above steps is successful then you should proceed with DB transactions.
    Regards
    Rohit

  • Just got an iphone4 and itunes wont recognize it.thr registration page is blank except where you fill in answers. and it already wants me to update a new version but says network timed out. help

    just got an iphone 4 and the registration page is blank. it also says there is a new version available but says network keeps taking time out

    Hi Jen.  My daughter just compleated her nursing program and is now working as a full time nurse.  Focus and study hard and soon you will be there too.  Now to the problem at hand.  I have the same problem.  I gave up on it and satisfied myself with my iPod without the upgrade.  Reason being I've read so many posts of people having problems after the upgrade.  But I'm sure other factors are involved.  Nevertheless here is the fix most say works to solve the problem:  What ever virus protection you have installed on your computer, disable it.  Then try to install the update. After that enable the protection. I had Kaspersky, and it does it's job well. The thinking is, the virus protection is blocking the upgrade.  Hope this works.   Charlie

  • [SOLVED] About the registration page...

    okay to make this shorter ive registered here using the answer of this guy
    http://answers.yahoo.com/question/index … 504AAO187t
    im so interested in arch linux that's why searched for the answer and i found one. lol.
    a to that captcha.
    im running backbox linux right now and my system generated this:
    7494e13078df6f09d5aac285cedc26727b40af6db8e43f8a3b23710e2a1ef268
    Questions:
    do we really need to run Arch Linux in order to get the right answer?
    Answer:
    i get it now it shows the week number and passes it into sha256sum.
    does that captcha really prevent bot from registering?, if the answer to that captcha spreads all over the net, then that would render the captcha useless.
    Suggestion:
    Why don't Arch use a dynamic captcha. what i mean is that everytime the user proceeds with the wrong answer the captcha change into another problem just like those. and then Arch has a database for that captcha alone a database that stores "Problem and Answers" to those captcha showed in the registration page.
    sorry for the bad english as english is not my native language. and sorry if i didn't introduce myself.
         ey3blast
    Last edited by ey3blast (2012-12-26 13:58:31)

    well I've read your post on this thread:
    https://bbs.archlinux.org/viewtopic.php?id=153660
    and thank you for the quick response better than RTFM. linux community is really great and im learning alot hope to learn more from the community so i could get the chance to contribute.
    you're actually right about that post there might be something wrong with the system clock. so i tried to echo date -u +%W$(uname) and it shows this weird output "date -u +%WLinux" i don't know what's wrong with this cause my system clock is running well i don't know why it doesn't show the week number though. anyone help me fix this thing?
    --- Fixed the problem ---
    well here's what i did, at first i run the command but i got the wrong answer because my system clock was turned off at that time then it shows nothing then i tried to echo the command and there i got the wrong answer. on the second time i run the command with the system clock turned on i still echoed it that's why i still got the wrong answer it shows this weird output when echoed "date -u +%WLinux". what i did right now is that i remove the echo and there i get the correct answer for the captcha.. hope this thread will help newbies like me in the future.
    Thank you for the help Mr. Trilby. I appreciate it.
       ey3blast
    Last edited by ey3blast (2012-12-26 13:44:08)

  • Connect java to php web page

    Hello...
    I am new in this forum, so I am sorry if I post my question in wrong place.
    I have php web page and want to call my java classes i.e connect java to php. My java code will read from file some info. then will organize these info. finally, the java will write the organized info. in file, the php will display the content of the file.
    can help me please to achieve this goal...
    thanks in advance
    ibtesam saleh

    I do not how to use JPoller, put it looks very advanced.
    Or you can use a simple code in (java/perl/c/what so every u know)
    void main(){
    while (true) {
    checkDirectoryAndReadNewCommandsAndWriteNewOutputs();
    Thread.sleep(waitTime);
    }and put your program on your windows/linux startUp
    Or you can learn using sockets in java and write your own html service with port 80 (I did some experiments)
    Or you can try to use WebService example from Netbeans program (I tried it worked for me)
    Or you can learn J2EE (I have never find the time to look at)
    Or ... many ideas, to time :)

  • Problem with php processing page

    I am new to php and have created a form for my website online.  When testing upon submit the form goes to my email fine with all the fields coming in correct.  The problem I am having is the processing form is also sending a blank email along with the correct one and also i get at least one blank email a day.  I am not sure where I need to add something into my code or if it is just the users hitting submit without anything filled out. Also any tips and advice on how to prevent email injection would be much helpful. I have read up on this and not really sure where to add protection code. Thanks for the replies they will be much appreciated. 
    Here is the code from the php process page:
    <?php
    /* Subject and Email Variables */
    $emailSubject = 'Online Order';
    $webMaster = '[email protected]';
    /* Gathering Data Variables */
         $competition = $_POST['competition'];
         $product = $_POST['product'];
         $eventcitytwoField = $_POST['eventcitytwo'];
         $eventstateField = $_POST['eventstate'];
         $eventdateField = $_POST['eventdate'];
         $eventdatetwoField = $_POST['eventdatetwo'];
         $routineoneField = $_POST['routineone'];
         $routinetwoField = $_POST['routinetwo'];
         $routinethreeField = $_POST['routinethree'];
         $routinefourField = $_POST['routinefour'];
         $routinefiveField = $_POST['routinefive'];
         $routinesixField = $_POST['routinesix'];
         $firstnameField = $_POST['firstname'];
         $lastnameField = $_POST['lastname'];
         $phoneField = $_POST['phone'];
         $email = $_POST['email'];
         $shippingField = $_POST['shipping'];
         $shippingstateField = $_POST['shippingstate'];
         $zipcodeField = $_POST['zipcode'];
         $cctypeField = $_POST['cctype'];
         $ccnumberField = $_POST['ccnumber'];
         $expdateField = $_POST['expdate'];
         $expyearField = $_POST['expyear'];
         $billingaddressField = $_POST['billingaddress'];
         $billingcityField = $_POST['billingcity'];
         $billingstateField = $_POST['billingstate'];
         $billingzipField = $_POST['billingzip'];
         $commentsField = $_POST['comments'];
    $body = <<<EOD
    <br><hr><br>
    Competition: $competition <br>
    Product: $product <br>
    Event City: $eventcitytwo <br>
    Event State: $eventstate <br>
    Event Month: $eventdate <br>
    Event Day: $eventdatetwo <br>
    Routine One: $routineone <br>
    Routine Two: $routinetwo <br>
    Routine Three: $routinethree <br>
    Routine Four: $routinefour <br>
    Routine Five: $routinefive <br>
    Routine Six: $routinesix<br>
    First Name: $firstname <br>
    Last Name: $lastname <br>
    Email: $email <br>
    Phone Number: $phone <br>
    Shipping Address: $shipping <br>
    Shipping State: $shippingstate <br>
    Shipping Zip: $zipcode <br>
    Credit Card Type: $cctype <br>
    Credit Card Number: $ccnumber <br>
    Exp Month: $expdate<br>
    Exp Year: $expyear <br>
    Billing Address: $billingaddress <br>
    Billing City: $billingcity <br>
    Billing State: $billingstate <br>
    Billing Zipcode: $billingzip <br>
    Comments: $comments <br>
    EOD;
         $headers = "From: $email\r\n";
         $headers .= "Content-type: text/html\r\n";
         $success = mail($webMaster, $emailSubject, $body, $headers);

    You are not posting the data to a database, so you have fewer security concerns, but you SHOULD post to a database because as it is now, you probably have to re-enter all that data that comes in through the email. You can have the data sent to a database and then emailed in the same script.
    For form security, validate some fields using REGEX. The email address is an obvious one. You can also require that some fields be filled in, which will eliminate your blank submissions. Use CSS to hide a "dummy" field. Visitiors won't see it but spambots will see it and fill it out. Create a routine upon submission that rejects any submission that doesn't have that field blank. If you do change your form to post to a database, don't post to $_SERVER['PHP_SELF'] as that is not secure.
    You asked a big question and I just gave you some pointers above. Use the security forum at the following website for help with security issues:
    http://forums.devnetwork.net/index.php

  • How to create a Registration page in WebDynpro java

    Hi All,
    How to create a registration page in Web Dynpro java.Whatever i enter in the field of registration page should be stored in the pcd..So plz help me???
    Message was edited by: suman sahu

    Hi Suman,
        I have a similar kind of requirement , please let me know if you have got the solution for this??
    Regards,
    Ravi.

  • Query : Addition of extra fields in the User Registration page of portal.

    Hi All,
    I have a query, about adding extra fields in the new user registration page of portal.
    If you can suggest the required source files in details,inorder to incorporate two more fields.
    Say, AGE and COMPANY,with the existing fields in the same page.
    Along with this,can you please send the details of retrieving those information from backend and the backend functionalities associated with the SUBMIT button on the registration page.
    Regards,
    Sudeep

    Hi,
    Your query is divided into two parts.
    The first part is adding new fields into existing form. This feature comes under Branding of portal. Plz use the link below understanding the same and related help :
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/affe402a5ff223e10000000a155106/frameset.htm
    The second part is retrieving the values from backend.Here it will be the UME database. You need to develop a logon.par file and replace the same in your portal.
    Happy Customizing.
    Sukanta Rudra

  • Passing new values as extension to FM in registration page in b2c ISA..

    Hi experts,
    I have b2c application with CRM50. I have added new fields in the user(consumer) registration page.I need to pass these values to the backend. The standard function module CRM_ISA_REGISTER_CONSUMER  which has an parameter EXTENSION_IN to pass the extension data is called from UserCrm.class.
    The standard action SaveRegisterAction.class in config.xml after i click save button is called.
    I am not able to find the exact method to overwrite in which where i can add the addExtensiondata() method.
    Is anyone added new fields in the register.jsp page? Kindly help me out in this if any one has some idea.
    Also if anyone has the API for CRM50 please mail me to [email protected]
    thanks in advance.
    Nitin

    Hi Nitin,
        Could you find any code to call business object "User"  in action "SaveRegisterAction"?if you find, i think you can create new action extends from "SaveRegisterAction" ,and in the new action call method "addExtensiondata()" of object "User",after this you can get data in the function module you are mention.
    Best Regards.
    jason

  • Trying to add captcha to forum registration page...

    I just put up a site and my forum is getting terrible spam so I need to add a captcha to the registration page.
    Here is the html code with my attempt to add a captcha module with the help of a support agent, it does not work for some reason.
    <h1>Forum Registration</h1>
    <div class="error">{module_error}</div>
    <div class="forum-registration">
    <h2>Existing Users - Login</h2>
    <form method="post" action="{module_pageaddress}" onsubmit="return check_RegistrationForm(this,'login')">
        <div class="form">
        <div class="item">
        <input type="hidden" name="OrderLogin_Info" />
        <label>Username</label><br />
        <input name="Username" maxlength="255" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Password</label><br />
        <input type="password" name="Password" maxlength="255" class="cat_textbox" />
        </div>
        <div class="item">
        <input type="submit" value="Login" class="cat_button" /><a href="#" onclick="document.getElementById('lostpassword').style.display='inline';return false;">Forgot your username/password?</a>
        </div>
        </div>
    </form>
    <form method="post" action="/LostPasswordProcess.aspx" name="catseczonelpform57982" style="display: none;" id="lostpassword">
        <h2>Forgot Password</h2>
        <div class="form">
        <div class="item">
        <label>Enter Username or Email Address</label><br />
        <input name="Username" maxlength="255" class="cat_textbox" />
        </div>
        <div class="item">
        <input type="submit" value="Retrieve" class="cat_button" /><br />
        </div>
        </div>
    </form>
    <hr />
    <h2>New User - Registration</h2>
    <form method="post" action="{module_pageaddress}" onsubmit="return check_RegistrationForm(this,'newuser')">
        <div class="form">
        <div class="item">
        <input type="hidden" name="OrderRegistration_Info" />
        <label>Name</label><br />
        <input name="Registration_Name" value="{module_RegistrationInfo,Name}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Email</label><br />
        <input name="Registration_Email" value="{module_RegistrationInfo,Email}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>User Name</label><br />
        <input name="Registration_Username" value="{module_RegistrationInfo,Username}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Password</label><br />
        <input type="password" name="Registration_Password" value="{module_RegistrationInfo,Password}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Confirm Password</label><br />
        <input type="password" name="Registration_ConfirmPassword" value="{module_RegistrationInfo,ConfirmPassword}" maxlength="255" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Alias</label><br />
        <input name="Registration_Alias" value="{module_RegistrationInfo,Alias}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Signature</label><br />
        <textarea type="text" rows="4" name="Registration_Signature" class="comment">{module_RegistrationInfo,Signature}</textarea>
        </div>
        <div class="item">
        <label>Enter Word Verification in box below <span class="reg">*</span></label><br />
        {module_recaptcha}</div>
        <div class="item">
        <input type="submit" value="Register" class="cat_button" />
        </div>
        </div>
    </form>
    </div>
    <!-- END .forum-registration -->
    <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
    <script type="text/javascript">
        //<![CDATA[
         function check_RegistrationForm(theForm,name) {  var why = "";  if (name == 'login') {  why += isEmpty(theForm.Username.value, "Username");  why += isEmpty(theForm.Password.value, "Password");  }  else {  why += isEmpty(theForm.Registration_Name.value, "Full Name");  why += isEmpty(theForm.Registration_Email.value, "Email Address");  why += isEmpty(theForm.Registration_Username.value, "Username");  why += isEmpty(theForm.Registration_Password.value, "Password");  why += isEmpty(theForm.Registration_ConfirmPassword.value, "Password Confirmation"); if (theForm,CaptchaV2) why += captchaIsInvalid(theForm, "Enter Word Verification in box below", "Please enter the correct Word Verification as seen in the image");  }  if (why != "") {   alert(why);   return false;  }    return true; }
        //]]>
    </script>

    You can do that on all forms Penny, Does keep them clean.
    It does mean that with no javascript they will never work, but in this day an age that should not be an issue.
    It looks like they were not hitting the registration url, but may have had a cached version of the page and using that to submit Penny.
    Its a good sollution - ideally for properness data- is a html5 attribute so the doctype really needs to be that. In XHML using rel="" on the form with the action in there is a good alternative as well.
    As a note Lynda's code was :
    $('.data-submit').data();
    This woud return all data
    $('.data-submit').data('action');
    Is more specifc and faster, if you had other data elements it would just fetch all or fall over.

  • Self Service Password Registration Page taking more time for loading in FIM 2010 R2

    Hi,
    I have beeen successfullly installed FIM 2010 R2 SSPR and it is working fine
    but my problem is that Self Service Password Registration Page taking more time for loading when i provide Window Credential,it is taking approximate 50 to 60 Seconds for loading a page in FIM 2010 R2
    very urgent requirement.
    Regards
    Anil Kumar

    Double check that the objectSid, accountname and domain is populated for the users in the FIM portal, and each user is connected to their AD counterparts
    Check here for more info:
    http://social.technet.microsoft.com/wiki/contents/articles/20213.troubleshooting-fim-sspr-error-3003-the-current-user-account-is-not-recognized-by-forefront-identity-manager-please-contact-your-help-desk-or-system-administrator.aspx

Maybe you are looking for