Off Topic

28 replies to this thread. Most Recent

chuckamuck

29 Jun 2008, 8:35 pm

Forms To Go ignores form

I have a page with a simple form. When I try to select the published page with Forms To Go it tells me “HTML file does not contain an HTML form or fields”. Has FTG lost it’s mind (like me)? I must be missing something obvious.

You can take a look at the form page if you wish. zanegerson.com/contactZane.html

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

Mike B

29 Jun 2008, 9:42 pm

The page doesn’t seem to be set up as a form, no form tags method or action, you will need these before you will be able to submit a form.

HTH

On Jun 29, 2008, at 10:35 PM, chuckamuck wrote:

I have a page with a simple form. When I try to select the published page with Forms To Go it tells me “HTML file does not contain an HTML form or fields”. Has FTG lost it’s mind (like me)? I must be missing something obvious.

quote

Freeway, PHP and MySQL examples

www.easibase.com

chuckamuck

29 Jun 2008, 10:01 pm

That much I figured out. Why is Freeway not generating the form tags is more precisely the question? Following the tutorial that Paul put together result in what you see.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

Joe Billings

29 Jun 2008, 10:18 pm

Are you using any actions on the page? Some remove the form tag.

Joe

On 29 Jun 2008, at 23:01, chuckamuck wrote:

That much I figured out. Why is Freeway not generating the form tags is more precisely the question? Following the tutorial that Paul put together result in what you see.

quote

For free and responsive Freeway support visit www.softpress.com/support/help_desk.php

chuckamuck

29 Jun 2008, 10:51 pm

Are you using any actions on the page? Some remove the form tag.

The only page action used it Upload Stuff which was used to get the php output from Forms To Go into the site folder. I used Form Element Styler on the form elements themselves. That’s it. Neither of these should affect the form tags….should they?

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

chuckamuck

29 Jun 2008, 10:55 pm

On a side note, on looking through the list of Actions under the Edit menu there are some form related items that do not show up anywhere. They are in the Standard/Other folders.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

DeltaDave

30 Jun 2008, 12:28 am

How did you actually add the form tags to the page?

Through an action or Page>Form Setup

D

quote

Glasgow, Scotland

G5 PPC OSX.4.11 Freeway Pro 5.2

chuckamuck

30 Jun 2008, 1:30 am

The form fields were drawn on the page as usual. Form Setup was set to POST and the action is set to the script created with Forms To Go. That’s it.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

chuckamuck

30 Jun 2008, 2:30 am

Ok, I just went back and booted up Freeway 4 and tried the same process with a simple two field form with a submit button. Works exactly as advertised with Forms To Go.

So why does Forms To Go recognize Freeway 4 html form and not Freeway 5?

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

Paul

30 Jun 2008, 8:13 am

Hi There are differences between Freeway 4’s form output and Freeway 5’s and FTG falls over.

Just dug out my email exchange with Bebosoft on this issue. FTG does not see text fields (it sees all other form elements) as the type attribute is not published by Freeway 5 (it was in FW4). In text fields, it is not actually necessary as this is the default for form elements.

So, select your text field, and go to Item>Extended. Click the New button. Enter “type” (with no quotes) as the name and “text” as the value (Again no quotes)

Publish and see how FTG behaves. I have pointed out to the FTG people that the W3C specs don’t expect this for a text field. Hopefully a future fix for FTG will remove this need.

quote

waltd

30 Jun 2008, 1:01 pm

I wrote an Action recently which will automate this fix, and Softpress have added the corrections it makes to their wish list for future versions. See more here: freewaytalk.net/thread/view/35338

Walter

On Jun 30, 2008, at 4:13 AM, Paul wrote:

Hi There are differences between Freeway 4’s form output and Freeway 5’s and FTG falls over.

quote

Freeway user since 1997

www.walterdavisstudio.com

chuckamuck

30 Jun 2008, 2:14 pm

So, select your text field, and go to Item>Extended. Click the New button. Enter “type” (with no quotes) as the name and “text” as the value (Again no quotes)

Publish and see how FTG behaves.

It doesn’t behave. I did try this and got no love.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

chuckamuck

30 Jun 2008, 2:27 pm

On 30 Jun 2008, 1:01 pm, waltd wrote:

I wrote an Action recently which will automate this fix, and Softpress have added the corrections it makes to their wish list for future versions. See more here:

Thanks Walter. I had actually booked marked that but forgot about it. However…..it didn’t help at all. Applied it to the form page and Forms To Go still ignores it.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

waltd

30 Jun 2008, 2:34 pm

Could you please pastie[1] me the code that FTG creates? I can probably see better what it is expecting when you do that. Be sure that you apply the Action, publish the page (use the Control-key- hidden option Publish Everything), and then set FTG to work on the updated form code.

Thanks,

Walter

  1. pastie.caboo.se

On Jun 30, 2008, at 10:27 AM, chuckamuck wrote:

On 30 Jun 2008, 1:01 pm, waltd wrote:

I wrote an Action recently which will automate this fix, and Softpress have added the corrections it makes to their wish list for future versions. See more here:

Thanks Walter. I had actually booked marked that but forgot about it. However…..it didn’t help at all. Applied it to the form page and Forms To Go still ignores it.

quote

Freeway user since 1997

www.walterdavisstudio.com

chuckamuck

30 Jun 2008, 3:23 pm

I’ll send you a pastie as soon as I have access to the php, which at the moment I don’t. The code is worthless of course in the current situation as it is from an earlier incarnation of Freeway, and FTG refuses to recognize that there is a form on the current page, therefore I cannot create the php from the intended page using FTG. Catch 22 ya see…

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

waltd

30 Jun 2008, 3:32 pm

That is just so odd, I wonder what the problem is. It’s probably going to be something simple/stupid, and easy to fix.

Walter

On Jun 30, 2008, at 11:23 AM, chuckamuck wrote:

I’ll send you a pastie as soon as I have access to the php, which at the moment I don’t. The code is worthless of course in the current situation as it is from an earlier incarnation of Freeway, and FTG refuses to recognize that there is a form on the current page, therefore I cannot create the php from the intended page using FTG. Catch 22 ya see…

quote

Freeway user since 1997

www.walterdavisstudio.com

chuckamuck

30 Jun 2008, 5:52 pm

Ok Walter, here is the pastie.

www.pastie.org/224888

This is the original incarnation of the form but it is almost the same as what is posted.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

waltd

30 Jun 2008, 6:38 pm

And what is the page that submits to this handler? This all looks correct, I can’t see anything wrong here.

Walter

On Jun 30, 2008, at 1:52 PM, chuckamuck wrote:

Ok Walter, here is the pastie.

www.pastie.org/224888

This is the original incarnation of the form but it is almost the same as what is posted.

quote

Freeway user since 1997

www.walterdavisstudio.com

chuckamuck

30 Jun 2008, 6:41 pm

And what is the page that submits to this handler? This all looks correct, I can’t see anything wrong here.

Look at the link on the first post in this thread.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

waltd

30 Jun 2008, 7:23 pm

Okay, but as we’ve established, that page doesn’t contain any Form tags. It has plenty of inputs and a textarea, but no surrounding <form> tag telling the browser what to do with those inputs.

It’s no wonder that it doesn’t do anything in FTG — it won’t submit or do anything at all in a browser either.

I’m not sure how you could make such a thing in Freeway, it’s been my experience that it doesn’t allow you to place a single form field on a page without wrapping that page in a form tag.

Walter

On Jun 30, 2008, at 2:41 PM, chuckamuck wrote:

And what is the page that submits to this handler? This all looks correct, I can’t see anything wrong here.

Look at the link on the first post in this thread.

quote

Freeway user since 1997

www.walterdavisstudio.com

DeltaDave

30 Jun 2008, 7:30 pm

Chucka said:

Form Setup was set to POST and the action is set to the script created with Forms To Go. That’s it.

There is certainly no evidence of this on the page.

Have you looked at the code on the page in your site folder and double checked you added this at Form Setup

Maybe if you have stuff in Form Setup you could copy/paste it here so that we can see it.

David

quote

Glasgow, Scotland

G5 PPC OSX.4.11 Freeway Pro 5.2

chuckamuck

30 Jun 2008, 7:45 pm

There is obviously a problem with Freeway not generating the form tags. The only thing in the Form Setup is the option of POST, and in the action field there is the php file reference. That’s all there is to it. This is following the FTG tutorial as it is presented on Softpress site. Clearly, Freeway 5.1.2 is not doing what it is supposed to.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

waltd

30 Jun 2008, 7:52 pm

I’m downloading the update now to test this. I don’t have this problem with 5.1.1.

Walter

On Jun 30, 2008, at 3:45 PM, chuckamuck wrote:

There is obviously a problem with Freeway not generating the form tags. The only thing in the Form Setup is the option of POST, and in the action field there is the php file reference. That’s all there is to it. This is following the FTG tutorial as it is presented on Softpress site. Clearly, Freeway 5.1.2 is not doing what it is supposed to.

quote

Freeway user since 1997

www.walterdavisstudio.com

chuckamuck

30 Jun 2008, 7:56 pm

I don’t see why this should affect anything (and probably doesn’t) but is it possible the nested aspect of the form is the problem?

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

DeltaDave

30 Jun 2008, 8:00 pm

Well it is working for me with 5.1.2 - have you tried trashing FW prefs and restarting

User>username>library>preferences

D

quote

Glasgow, Scotland

G5 PPC OSX.4.11 Freeway Pro 5.2

chuckamuck

30 Jun 2008, 8:54 pm

On 30 Jun 2008, 8:00 pm, DeltaDave wrote:

Well it is working for me with 5.1.2 - have you tried trashing FW prefs and restarting

User>username>library>preferences

I tried that, no improvement. There is something about that page that is keeping it from producing form tags. As a test I copied out the form elements and put them on a blank page. After publishing it FTG saw it with no problem.

Very confusing.

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

DeltaDave

30 Jun 2008, 8:57 pm

Then copy everything off the page - delete it.

Make a new page and paste it back.

D

quote

Glasgow, Scotland

G5 PPC OSX.4.11 Freeway Pro 5.2

chuckamuck

30 Jun 2008, 9:08 pm

I finally got it to work…..but I had to rebuild the page to do it. For some reason Freeway was not producing the form tags for that page. Just a bad memory now…

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

Back to Top

chuckamuck

1 Jul 2008, 3:50 am

Grrr…

Alright, here’s the rub. It will work ONLY if the layer the form is a child of is NOT a child to the page itself. What I mean is, drawing an html box on a blank page and then drawing the form elements in that box works fine, but inserting an inline box on a blank page then drawing the form elements on that box does not work. For some reason (bug perhaps?) using the later method Freeway does not output the form tags when the page is published.

Very frustrating!

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram

FreeCounter