Linking Form Buttons?

If my link is internal within my site how would I display this a my path/to/page?

I just want the ‘form’ button on my page to take me to another page within my site…

Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Relying on JavaScript, as this does, to redirect the user to the new
page isn’t going to be a bullet proof solution. If the user has JS
switched off or unavailable then they won’t get redirected. If you are
setting up a single button per page then enter the path to the new
page in the Page/Form Setup dialog box. Also set the form action to
post. When the user clicks on the button (assuming it is set to
submit) they will be redirected to your target page even with JS
switched off.
Regards,
Tim.

On 16 Mar 2010, at 15:14, Mr worm wrote:

If my link is internal within my site how would I display this a my
path/to/page?

I just want the ‘form’ button on my page to take me to another page
within my site…

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You might want to try GET rather than POST. Unless you are addressing
an “active” page like PHP, ASP, JSP, etc., you will likely get a
server error if you try to POST to an HTML page. GET just means
“request this page as a resource” and that’s what a normal click on a
link does, too. Is there a reason why you aren’t making these normal
links?

Walter

On Mar 16, 2010, at 1:44 PM, Tim Plumb wrote:

Relying on JavaScript, as this does, to redirect the user to the new
page isn’t going to be a bullet proof solution. If the user has JS
switched off or unavailable then they won’t get redirected. If you
are setting up a single button per page then enter the path to the
new page in the Page/Form Setup dialog box. Also set the form action
to post. When the user clicks on the button (assuming it is set to
submit) they will be redirected to your target page even with JS
switched off.
Regards,
Tim.

On 16 Mar 2010, at 15:14, Mr worm wrote:

If my link is internal within my site how would I display this a my
path/to/page?

I just want the ‘form’ button on my page to take me to another page
within my site…

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter. I tried this locally and picked post rather than get
simply because of the clean url with no query string. Obviously if the
server is going to kick up a fuss then get is the way to go.
Thanks,
Tim.

On 16 Mar 2010, at 18:03, Walter Lee Davis wrote:

You might want to try GET rather than POST.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The error I get in Apache is 405: Method not allowed. That’s just
vanilla Apache on Mac OS X Server, and it’s been that way since the
Rhapsody days. You may encounter commercial hosts that do allow .html
to be an active language extension, but I would say it’s not normal or
average behavior.

Walter

On Mar 16, 2010, at 2:41 PM, Tim Plumb wrote:

Thanks Walter. I tried this locally and picked post rather than get
simply because of the clean url with no query string. Obviously if
the server is going to kick up a fuss then get is the way to go.
Thanks,
Tim.

On 16 Mar 2010, at 18:03, Walter Lee Davis wrote:

You might want to try GET rather than POST.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walt/Tim,

I must be doing something wrong??

I am linking internally to a .php page if this helps. The value of my button is ‘login’ i.e. which then takes you to the page where the login form/password resides.

Also if I was to place this button on a page where a form already exists, would I then need to apply ‘multiple forms’ action in oder for this to function correctly?

Can you please guide me to a quick tutorial or simple write a bulleted list of logical instructions to solve this.

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

When you use a form to request a page, you will need to put the
destination (the link target) in the Form’s Action property. So if you
wanted more than one of these (since Freeway gives you one Form slot
per page) you would need to use the Multiple Forms suite to make this
possible.

Apply No Form to the page, then create an HTML element (table, DIV,
TD) to hold each of your “mini” forms. Each one of these elements will
need its Action set to where you want the click to take the visitor.
And each one will need to contain a Submit button which can be called
anything you like.

So what you put on the button doesn’t drive the result, rather the
Action of the form surrounding the button does all the work.

Walter

On Mar 17, 2010, at 7:59 AM, Mr worm wrote:

Thanks Walt/Tim,

I must be doing something wrong??

I am linking internally to a .php page if this helps. The value of
my button is ‘login’ i.e. which then takes you to the page where the
login form/password resides.

Also if I was to place this button on a page where a form already
exists, would I then need to apply ‘multiple forms’ action in oder
for this to function correctly?

Can you please guide me to a quick tutorial or simple write a
bulleted list of logical instructions to solve this.

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I understand…

Walt, within the multiple form action…

Name: anything* Action: your_form_processor.php Method: get or post

What do I place in my action field? The html/php location??

E.G.

www.mywebsite/folder/filesname.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

What do I place in my action field? The html/php location??

You put the address of the page you want to have open when the visitor presses the button.

A form request is very similar to a page request to the Action property of the form.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options