just a tiny litle help needed with TagWrap and Crowbar...

Hardly do not dare to ask…

There is a minor (22 errors) issue with validating a page with a form. It’s a handrolled registration form for Expression Engine. I got it working, but the Validator does not like my page…
I tried the TagWrap action in several ways to inject code and Crowbar. The rest is plain formfields in a table.
There is another thing. I cannot define a formfield name=“password” in Freeway. I adapted two FW formfields with the extended dialogue (works) but validation is not good.

Page is here: http://www.beertjeklein.nl/index.php/bk/2register/

I followed this methode:
DIV #formcontainer with TagWrap before: <form id='register_member_form' method="post" action="http://mysite.com/index.php/" > and after: / </form> element
One inline Crowbar with hidden fields
One inline table with visible Formfields and button

I do hope it’s just a small detail that I overlook right now.

Thanks in advance…!


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

Both of your password fields have the word input in them twice, which
throws one set of errors. And for some reason, the validator has
trouble with mixed quotation marks. Your main form tag uses single-
quotes for part of the tag and double-quotes for the rest. Change
those to all double-quotes. Finally, your hidden tags are outside of
any container tag (form doesn’t count) so you have to wrap them in
something harmless like a span or a div.

http://pastie.org/516488

Walter

On Jun 18, 2009, at 10:16 AM, atelier wrote:

Hardly do not dare to ask…

There is a minor (22 errors) issue with validating a page with a
form. It’s a handrolled FW formfields with the extended dialogue
(works) but validation is not good.

Page is here: http://www.beertjeklein.nl/index.php/bk/2register/


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

Walter (as always… :slight_smile: :slight_smile:

Input is corrected
hidden fields are in a DIV
Errors are reduced to 10.

The double quotion marks, I changed them here <form id="register_member_form" method="post" action="http://www.mysite.com/index.php/" > but that does not do it.
Did I misunderstand you?


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

No, but also take a look at the end of the opening tag. The validator
doesn’t seem to like the trailing space between the last double-quote
and the angle-bracket. I have no idea why that might be, but try this:

<form id="register_member_form" method="post" action="http://www.mysite.com/index.php/ 
">

instead of

<form id="register_member_form" method="post" action="http://www.mysite.com/index.php/ 
" >

That seems awfully fussy, even for the W3C.

Walter

On Jun 18, 2009, at 12:35 PM, atelier wrote:

Walter (as always… :slight_smile: :slight_smile:

Input is corrected
hidden fields are in a DIV
Errors are reduced to 10.

The double quotion marks, I changed them here <form id="register_member_form" method="post" action="http://www.mysite.com/index.php/ " > but that does not do it.
Did I misunderstand you?


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

Walter, you are a miracle.
By removing this one little trailing space ‘boom’ some 10 errors vanished.
Again, you helped me enormously by teaching to understand this ‘out of the box’ use of Freeway.
I did compare the original raw code of the form I was after with the Freeway generated code, and I kind of knew what was wrong, but I did not have the insight to make the right adjustments in my Freeway document.
So, thank you very much. The best thing to do for me now is to pass this knowledge on to others, which I will.

yours sincerely

Hans


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

typo…
NOT ‘out of the box’ … how to put it, beside the box, beyond the box, further than the box, this Anglo-Saxion is not my native tongue…:wink:


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

On 18 Jun 2009, 9:39 pm, atelier wrote:

typo…
NOT ‘out of the box’ … how to put it, beside the box, beyond the box, further than the box, this Anglo-Saxion is not my native tongue…:wink:

I believe “outside the box” is the pun intended. :wink:


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