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.
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.
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.
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.
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?
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:
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?
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.