Form actions and external forms

Are there any form actions that works with embedded forms (that is: a
web form that I have pasted into a Freeway page, as HTML code)?

I ask because I have some handmade forms that stopped functioning. I
know that the PHP form action that comes with Freeway works well, for
100% ”FW native” forms. But what happens if I embed my handmade
form? Would the form also ”cath” those forms?

I believe I have only used the «Send form» action that comes with
Freeway - but it would acceptable to use another form, if that works
better.

Also, it would be acceptable to let FW take care of the very form
element and and basic things, like submit button, - and thus only paste
the ”meat” or ”body” of my handmade form, in between” the
form.)

Sorry for my lazy question.

leif halvard silli


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Actions run in Freeway, on the design layout, not in the HTML. Some very few of them do use text processing to “read” the HTML and do things with it, but those are rare and frankly limited, because it’s very difficult to process HTML as text and have it still be meaningful at a code level. The best of these Actions use the Freeway document model (which is much richer than HTML is or can be, and gets “dumbed down” to HTML during the publish process. But if you paste a bunch of HTML into the page as a markup item, then that gets treated like a string of text only.

Form processing at a crude and basic level can be really simple: change the Page / Form Setup (Action field) to Reflector and you will see whatever you put in the form displayed on a new Web page. No matter what you enter (or don’t enter) you will see it. So that could be piped into a mailer script to send the result of the form submission to you. But that’s a really crude trick, and that reflector page is mostly good for debugging a form, to see what the fields are really named and so forth. There’s no way to have a simple tool like that do any sort of validations, or redirect to a Thanks page, or whatever. In order to build in validations to more complex handlers, the Actions use the Freeway fields in the layout to set up the rules and to make the form “smarter”. That’s really out of scope for a form that’s been pasted in as text.

Walter

On Aug 23, 2017, at 5:26 PM, Leif Halvard Silli email@hidden wrote:

Are there any form actions that works with embedded forms (that is: a web form that I have pasted into a Freeway page, as HTML code)?

I ask because I have some handmade forms that stopped functioning. I know that the PHP form action that comes with Freeway works well, for 100% ”FW native” forms. But what happens if I embed my handmade form? Would the form also ”cath” those forms?

I believe I have only used the «Send form» action that comes with Freeway - but it would acceptable to use another form, if that works better.

Also, it would be acceptable to let FW take care of the very form element and and basic things, like submit button, - and thus only paste the ”meat” or ”body” of my handmade form, in between” the form.)

Sorry for my lazy question.

leif halvard silli


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thanks, Walter

I guess I must learn PHP Pear QuickForm2 to get going …

Leif

On 24 Aug 2017, at 4:45, Walter Lee Davis wrote:

Actions run in Freeway, on the design layout, not in the HTML. Some
very few of them do use text processing to “read” the HTML and do
things with it, but those are rare and frankly limited, because it’s
very difficult to process HTML as text and have it still be meaningful
at a code level. The best of these Actions use the Freeway document
model (which is much richer than HTML is or can be, and gets “dumbed
down” to HTML during the publish process. But if you paste a bunch of
HTML into the page as a markup item, then that gets treated like a
string of text only.

Form processing at a crude and basic level can be really simple:
change the Page / Form Setup (Action field) to
Reflector and you will see
whatever you put in the form displayed on a new Web page. No matter
what you enter (or don’t enter) you will see it. So that could be
piped into a mailer script to send the result of the form submission
to you. But that’s a really crude trick, and that reflector page is
mostly good for debugging a form, to see what the fields are really
named and so forth. There’s no way to have a simple tool like that do
any sort of validations, or redirect to a Thanks page, or whatever. In
order to build in validations to more complex handlers, the Actions
use the Freeway fields in the layout to set up the rules and to make
the form “smarter”. That’s really out of scope for a form that’s been
pasted in as text.

Walter

On Aug 23, 2017, at 5:26 PM, Leif Halvard Silli
email@hidden wrote:

Are there any form actions that works with embedded forms (that is: a
web form that I have pasted into a Freeway page, as HTML code)?

I ask because I have some handmade forms that stopped functioning. I
know that the PHP form action that comes with Freeway works well, for
100% ”FW native” forms. But what happens if I embed my handmade
form? Would the form also ”cath” those forms?

I believe I have only used the «Send form» action that comes with
Freeway - but it would acceptable to use another form, if that works
better.

Also, it would be acceptable to let FW take care of the very form
element and and basic things, like submit button, - and thus only
paste the ”meat” or ”body” of my handmade form, in between”
the form.)

Sorry for my lazy question.

leif halvard silli


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options