Difficulty with a form - Page 2 -...

User 122279 Photo


Senior Advisor
14,624 posts

I have cleaned the code in both files so that they validate. And it was really nothing more I did (except removing any ref. to 'main' from the html file). Now I get a decent page also in IE.

The W3C validation is a very useful tool indeed! ;)
Attachments:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 463058 Photo


Ambassador
1,086 posts
Online Now

Find this bit of code:
</select>
<label for="firstname">Your First Name</label>
<input id="firstname" name="firstname" class="text" type="text" />
</li>


Add another closing and opening li
</select>
</li>
<li>
<label for="firstname">Your First Name</label>
<input id="firstname" name="firstname" class="text" type="text" />
</li>


Find this code:
<legend>My Membership</legend>
<label for="mymembership">
I want it to start in <i>select one</i>
<select name="mymembership" id="mymembership">


Just close the label
<legend>My Membership</legend>
<label for="mymembership">I want it to start in <i>select one</i></label>
<select name="mymembership" id="mymembership">


User 122279 Photo


Senior Advisor
14,624 posts

I think I found those errors and corrected them, didn't I? See the attached files to my previous post.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 1964159 Photo


Registered User
156 posts

Thank you all very much, I have a page. I found the validator very intimidating, as at one stage it even told me I had the wrong DOC TYPE, I took it out and replaced it with their suggestion, which it did not accept. So I put the old one back in at it validated.
At one stage I had 1 warning and 73 errors.
Good advice from Joker about putting the basics in with no content and have it validated at that point.
Anyway Problems gone away on this page, now I have to start hunting for scripts for the form - to -mail and things --- something for tomorrow.
Many thanks to all again
:):) :)
User 122279 Photo


Senior Advisor
14,624 posts

The doctype had a space in the middle of a word, therefore it didn't validate at first.

I found one error in the css file that I had overlooked erarlier:

legend {
margin-left : 1em
color : #000000;
font-weight : bold;
}


Add a semicolon after '1em'!
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 463058 Photo


Ambassador
1,086 posts
Online Now

Inger Eik wrote:
I think I found those errors and corrected them, didn't I? See the attached files to my previous post.


I had only looked at his live page, which was already fixed by the time i finished posting that :)
User 133269 Photo


Registered User
2,900 posts

this any help tone?
http://www.pixieplots.co.nz/forum/viewt … 4&t=98
sending mail from a php form...
Have fun
~ Fe Pixie ~
User 1964159 Photo


Registered User
156 posts

Well, thanks to the support I got here, I now have a form, looks pretty good, opens in all browsers and has been thoroughly road-tested by a blind lady and her screen-reader software.
It's here:http://www.queens-english-society.com/apply.html
Now to get it to do something! I don't think I can follow Fe Pixi's link to some script, as I have saved my page as an HTML and there is other content on the page.(Mind you, at my great old age, I don't know my php from a lemon)
I want my form data to come to me via e-mail.
It would be an idea to have a thank you message go back to the user
The user should have the option to stay on the page, where there is a link to PayPal - I want their subscription to our charity, if you see what I mean.
My hosting service offers some script for form-to-e-mail, but it includes "image verification", which kinda makes the whole thing inaccessible again.
I have seen "iv" with audio assistance for people who cannot identify the image. SCARY!
So despite all your welcome assistance, I'm stuck at the last hurdle.
:/ :lol:
User 122279 Photo


Senior Advisor
14,624 posts

Hi again, Tony,

I'm doing a java script course at the moment, but I have not got far enough into it yet to be able to help you with posting your form. :P

The form I asked you to test run from one of my pages is exactly the same as the one Fe Pixie has on her page (she created it). It can be set up with a lot more fields than what you found at my website, and it can be styled the same way as your present form. If you get stuck in the search for a suitable script, come back here and we'll see what we can do with it.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 1964159 Photo


Registered User
156 posts

Bless you Inger, Good luck with yyour course.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.