You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

Form Attributes
Possible values
Description
action
<?php echo $PHP_SELF;?>
Where to send the form-data
name
gassy_name
This is a name for the form
enctype
multipart/form-data
text/plain
How should be encoded form-data
method
get
post
Method of sending form-data
Note: This attributes are specified for <FORM> tag.


Input Attributes
Possible values
Description
checked
checked
For type="checkbox" or type="radio"
disabled
disabled
Specify an disabled input, can't write or check
readonly
readonly
Can only read the text, can't write or edit
maxlength
16
Can write maximum as a specified number
size
12
Specify width of an field
name
gassy_name
This is a name for the input
value
Submit
Specify a value for the input
src
It works only for type="image"
type
checkbox
radio
text
password
button
image
reset
submit
file
hidden
Note: This attributes are specified for <INPUT> tag.


Txt.A Attributes
Possible values
Description
cols
10
Specify a visible width of textarea
rows
12
Specify a visible height of textarea
name
gassy_name
This is a name for the textarea
readonly
readonly
Can only read the text, can't write or edit
disabled
disabled
Specify a disabled txt.a, can't write
Note: This attributes are specified for <TEXTAREA> tag.


Button Attributes
Possible values
Description
type
button
reset
submit
Specify the type of the button
name
gassy_name
This is a name for the button tag
value
Submit
Specify a value for the button tag
disabled
disabled
Specify a disabled button, can't click
Note: This attributes are specified for <BUTTON> tag.

Written by Gassy!
Please note that this tutorial is copyrighted & created only for CodePhase.
If you post this tutorial on your forum without permission of the administrator the risk of your forum been shut down, is high!
Thanks for the editing the message



Last edited by Gassy on Sat Nov 19, 2011 10:44 pm; edited 5 times in total

View user profile

RockerMan

avatar
Administrator
Your proposal has been accepted, congratulations!

View user profile http://code-phase.forumotion.co.uk
Thanks once again. Wink

View user profile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

Free forum | © PunBB | Free forum support | Contact | Report an abuse | Free forum