28, May 2012

Process form using Hyperlink - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Process form using Hyperlink
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Process form using Hyperlink  (Read 1210 times)
Guest


Email
« on: Mar 30, 2007, 08:04:14 am »

hi ,

i want to process the form using hyperlink..
for example i have a form
Code:
<form action='test.php' method='get'>
<input type='text' name='name'>
</form>
i want to process the above form using
Code:
<a href="">Process form</a>
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #1 on: Mar 30, 2007, 09:41:37 am »

This is the way to do this :

Code:
<form name='x'>
.......
</form>
<a href=# onclick='document.forms.x.submit'>

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Guest


Email
« Reply #2 on: Mar 30, 2007, 09:37:46 pm »

Thanx Nikolas ,
         it is working....
Guest


Email
« Reply #3 on: Apr 02, 2007, 09:10:06 pm »

Nikolas

i have a php page
Code:
(page.php)
<?php
echo("<form name='x' action='page.php'>");
echo(
"<input type='text' name='na'>");
echo(
"</form>");
echo(
"<a href='page.php?id=2' onClick='document.forms.x.submit'> Next</a>");
?>


My Question :

i want to send both form value & hyperlink value on the same page . how is it possible?
or any type of there way for this..
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Apr 02, 2007, 10:52:38 pm »

Nikolas

i have a php page
Code:
(page.php)
<?php
echo("<form name='x' action='page.php'>");
echo(
"<input type='text' name='na'>");
echo(
"</form>");
echo(
"<a href='page.php?id=2' onClick='document.forms.x.submit'> Next</a>");
?>


My Question :

i want to send both form value & hyperlink value on the same page . how is it possible?
or any type of there way for this..

I think you're on the wrong way, maybe you can tell us what you want to do...

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6317
Tags : form process Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Process form using Hyperlink
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 08:23:47 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.