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
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 pmThe 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.
Freeway, PHP and MySQL examples
chuckamuck
29 Jun 2008, 10:01 pmThat 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.
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 pmAre 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.
For free and responsive Freeway support visit www.softpress.com/support/help_desk.php
chuckamuck
29 Jun 2008, 10:51 pmAre 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?
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 pmOn 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.
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 amHow did you actually add the form tags to the page?
Through an action or Page>Form Setup
D
Glasgow, Scotland
G5 PPC OSX.4.11 Freeway Pro 5.2
chuckamuck
30 Jun 2008, 1:30 amThe 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.
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 amOk, 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?
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 amHi 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.
waltd
30 Jun 2008, 1:01 pmI 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.
Freeway user since 1997
chuckamuck
30 Jun 2008, 2:14 pmSo, 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.
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 pmOn 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.
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 pmCould 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
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.
Freeway user since 1997
chuckamuck
30 Jun 2008, 3:23 pmI’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…
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 pmThat 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…
Freeway user since 1997
chuckamuck
30 Jun 2008, 5:52 pmOk Walter, here is the pastie.
This is the original incarnation of the form but it is almost the same as what is posted.
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 pmAnd 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.
This is the original incarnation of the form but it is almost the same as what is posted.
Freeway user since 1997
chuckamuck
30 Jun 2008, 6:41 pmAnd 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.
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 pmOkay, 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.
Freeway user since 1997
DeltaDave
30 Jun 2008, 7:30 pmChucka 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
Glasgow, Scotland
G5 PPC OSX.4.11 Freeway Pro 5.2
chuckamuck
30 Jun 2008, 7:45 pmThere 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.
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 pmI’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.
Freeway user since 1997
chuckamuck
30 Jun 2008, 7:56 pmI 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?
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 pmWell it is working for me with 5.1.2 - have you tried trashing FW prefs and restarting
User>username>library>preferences
D
Glasgow, Scotland
G5 PPC OSX.4.11 Freeway Pro 5.2
chuckamuck
30 Jun 2008, 8:54 pmOn 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.
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 pmThen copy everything off the page - delete it.
Make a new page and paste it back.
D
Glasgow, Scotland
G5 PPC OSX.4.11 Freeway Pro 5.2
chuckamuck
30 Jun 2008, 9:08 pmI 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…
Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram
chuckamuck
1 Jul 2008, 3:50 amGrrr…
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!
Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 2gb ram