KoolForm Class [Javascript]

Summary

Properties Description
id Get the id of KoolForm.
Methods Description
refresh Make the form refresh.
validate Triger form validation.
get_control Get control object with id.

Properties Detail

idTop

string id

Get the id of KoolForm. Normally the id of KoolForm will be the id of the real form concatenated with "_manager".

Show/Hide Code

Supported from version: 1.0.0.1

Methods Detail

refreshTop

void refresh()

Make the form refresh.

Show/Hide Code

Supported from version: 1.0.0.0

validateTop

bool validate()

Sometime you will need to validate the form not just at submission time but others, you just need to call this validate() function, the form input will be validated immediately. Returned value is whether the whole form is valid.

Show/Hide Code

Supported from version: 1.0.0.1

get_controlTop

object get_control(string control_id)

Get control object with id.

Show/Hide Code

Supported from version: 1.0.0.1