Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 04-11-2009
Member
 
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.
Reply With Quote
  #2  
Old 04-11-2009
Member
 
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.
Reply With Quote
  #3  
Old 04-11-2009
Member
 
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.
Reply With Quote
  #4  
Old 04-11-2009
Member
 
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.
Reply With Quote
  #5  
Old 04-11-2009
Member
 
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 ...
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 11:36 PM.