Results 1 to 5 of 5

Thread: Problem of registration page

  1. #1
    Join Date
    Nov 2009
    Posts
    33

    Problem of registration page

    I made a page for the registration of accounts, with checks on the fields is the client side than server side, but I have a small problem.

    For controls the client side I receive the alert directly to the page registration, while for the server-side controls made in php I open a blank page by typing the message written in the command echo.

    Is there a way to do something similar to controls on the client side server side controls? Let me see the error on the same page, so the user is forced to turn back.

  2. #2
    Join Date
    Nov 2008
    Posts
    1,192

    Re: Problem of registration page

    What you want is a very common procedure of AJAX environments.

    If you want to avoid that language, simply create an invisible iframe within your page. Then just send the form to that iframe and PHP receives the data telling him to create the JavaScript that displays the message style "alert" that you need if the form is incorrect, or the same way, please refresh the page if the form is correct.

    Perhaps it is difficult to describe, but in practice it is very simple.

  3. #3
    Join Date
    Nov 2009
    Posts
    33

    Re: Problem of registration page

    I will try to do it in AJAX although in the rest of the site I did not use it? AJAX is somewhat difficult to me. I am aware of the fact that it is good enough for websites but never got 100% success in its usage. Just wish me a luck.

  4. #4
    Join Date
    Nov 2008
    Posts
    1,192

    Re: Problem of registration page

    Import an AJAX framework only for what is feasible but it seems very optimal.
    Rather you can see some single command Asynchronous JavaScript and use that which is not difficult and you will find many examples on google.

  5. #5
    Join Date
    Nov 2009
    Posts
    33

    Re: Problem of registration page

    I decided to try to do it anyway because AJAX seeing what can be done will be useful later in the actual creation of the site.

    I see what I can combine then and if I have any problem I will come back to ask you all experts ...

Similar Threads

  1. F.E.A.R combat has online registration problem?
    By DevenderD in forum Video Games
    Replies: 5
    Last Post: 23-06-2011, 08:42 AM
  2. Online registration problem with Pokemon white game
    By Siketan in forum Video Games
    Replies: 4
    Last Post: 30-03-2011, 02:43 AM
  3. Registration Key Problem In Winamp
    By GreatThinker in forum Windows Software
    Replies: 4
    Last Post: 17-04-2010, 03:50 PM
  4. Problem with taskbar and registration
    By Catchkuber in forum Operating Systems
    Replies: 2
    Last Post: 06-12-2008, 05:58 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,752,101,941.93719 seconds with 16 queries