Placeholder submitted with form

Hey all,

I have an response form which uses placeholders to indicate the necessary values for that input field. However, after submitting the form, the placeholder of the website field is sent while no information has been entered. This results in invalid links on the website. How can I make sure that the placeholder is not sent?

thnx!

Can you be more specific please?

A form with this code:

<form action="post.php" method="post" id="commentform" name="comment_form">
						                                <div class="row">
                                <div class="columns">
                                    <input type="text" class="text" name="author" id="author" size="22" tabindex="1" area-required='true' 
                                    placeholder="Naam(verplicht)" data-original="Naam(verplicht)" />
							  	</div>
                                <div class="columns">
                                    <input type="email" class="text" name="email" id="email" size="22" tabindex="2" area-required='true' 
                                    placeholder="Email(verplicht)" data-original="Email(verplicht)" />		
                                </div>
                                <div class="columns">
                                    <input type="url" class="text" name="url" id="url" size="22" tabindex="3" 
                                    placeholder="Website" />
                                </div>
								</div>
								<div class="clearfix"> </div>
								<div id="submit_comment_div" class='button'>
									<a href="#">Respond</a>
								</div>

Sends the placeholder “Website” when information is not entered in that field. How come? Why is it not empty and neglecting the placeholder?

I haven’t tested this but have you tried adding an empty value attribute…


<input type="url" class="text" name="url" id="url" size="22" tabindex="3" placeholder="Website" value="" />

Hmm I’ve tried, but still the same issue!

Can you test for the placeholder value on the server and treat fields that have the placeholder value as empty there?

I’m sorry, but I have to admit I would have no clue how to do that. Or actually what that means? Scusi!