Log in

View Full Version : checkbox to button?


Sychev_S
04-21-2007, 01:04 AM
<label for="profilepic">
<input type="checkbox" name="deleteprofilepic" value="1" id="profilepic" />$vbphrase[delete_current_image]</label>

is there anyway to turn this into the button?

I came up with this code:
<input class="button" type="submit" name="deleteprofilepic" value="1" id="profilepic">
it does show button, but the title is "1", not exactly what i need. I just want it to say "delete".

TheRed
04-22-2007, 02:43 AM
Try going with this:


<input class="button" type="submit" name="deleteprofilepic" value="Delete" id="profilepic">