5 Replies - 3478 Views - Last Post: 27 December 2012 - 06:36 PM

#1 skymonkier  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 107
  • Joined: 14-July 12

Need a couple pointers.

Posted 26 December 2012 - 05:18 PM

Can anyone point me in the right direction (a tutorial, or snippet, etc..) towards processing form data on the same page? Either that, or perhaps opening a box to display a form, like some login systems.
Is This A Good Question/Topic? 0
  • +

Replies To: Need a couple pointers.

#2 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3178
  • View blog
  • Posts: 10,639
  • Joined: 12-December 12

Re: Need a couple pointers.

Posted 26 December 2012 - 05:43 PM

Depends what you mean by process. If you intend to store or retrieve information from a database, or data from a file on the server, then you'll need to study a server-side language such as PHP, ASP or ColdFusion (among others).

If you just want to do some processing on the page itself (client-side) then you could extract get parameters from the url using Javascript. But if this is your objective then there is no need to submit the form: clicking buttons, etc., on the page can cause some Javascript code to execute.

Quote

or perhaps opening a box to display a form, like some login systems.

Javascript, again, would normally be used to do this. There are many (many!) tutorials available on the internet, and on this site, to achieve these things.

This post has been edited by andrewsw: 26 December 2012 - 05:47 PM

Was This Post Helpful? 1
  • +
  • -

#3 skymonkier  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 107
  • Joined: 14-July 12

Re: Need a couple pointers.

Posted 26 December 2012 - 06:44 PM

Can you link to tutorials for the latter? Also, I'd like to ask if there's any safer method than using pure GET values?
Was This Post Helpful? 0
  • +
  • -

#4 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: Need a couple pointers.

Posted 26 December 2012 - 10:43 PM

> Also, I'd like to ask if there's any safer method than using pure GET values?

What exactly is your end objective? Forget the technical details. What are you trying to design here?
Was This Post Helpful? 0
  • +
  • -

#5 skymonkier  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 107
  • Joined: 14-July 12

Re: Need a couple pointers.

Posted 27 December 2012 - 08:47 AM

Well, I just want to login/register and process all the data (modifying, changing, checking MySQL, etc...) on the same page, or in a pop-up box on the page. Either way, I just want to register an account on the same page without utilizing GET too much.
Was This Post Helpful? 0
  • +
  • -

#6 gregwhitworth  Icon User is offline

  • Tired.
  • member icon

Reputation: 219
  • View blog
  • Posts: 1,604
  • Joined: 20-January 09

Re: Need a couple pointers.

Posted 27 December 2012 - 06:36 PM

Ok. That would require server side code, best with a REST API of some sort and then the use of AJAX would allow you to do changes on a form without actually leaving the page.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1