PDA

View Full Version : Can't Submit in Custom Template


TheInsaneManiac
07-06-2008, 11:48 PM
For some reason this has issues with my submit button. It is suppose to convert text to hex, but instead it refreshes. Any idea?

<input id="box" value="YourHexCodeHere" maxlength="48" size="90" name="text" type="text"><input onclick="runHex(document.text2hex.text.value);return false" generate="" value="Convert" type="submit">

MoT3rror
07-07-2008, 02:14 AM
Need a form element named text2hex.

TheInsaneManiac
07-07-2008, 05:17 AM
Need a form element named text2hex.
I already had that:
<form name="text2hex">
<strong>Enter Desired Imposter Name:</strong> <input id="box" value="HexCode" maxlength="48" size="90" name="text" type="text"><input onClick="runHex(document.text2hex.text.value);return false" generate="" value="Convert" type="submit"><input onClick="text.value=''" value="Clear Fields" type="button">
</form>


EDIT: Dunno if it helps any, but after clicking convert, the link becomes mycustomfile.php?text=HexCode

MoT3rror
07-07-2008, 05:47 AM
Do you have function runHex defined?

JetHaCkR
09-13-2008, 10:16 AM
hm.. your trying to create a custom page which is integrated to vbulletin rite?,
try using an iframe