I need to reference the field nick of the form boundForm. I'm using:
boundForm.nick.value()
what's wrong.
here is the complete form:
isc.DynamicForm.create({
ID: "boundForm",
fields: [
{name: "nick", title: "userid", type: "text", required: true, length: 20},
{name: "validateBtn", title: "button", type: "button", click: "RPCManager.sendRequest({ data: '' , callback: 'isLogin(data)', actionURL: '/data/checkLogin.php?user=" + boundForm.nick.value() + "'});RPCManager.sendQueue()"}
]
})
thanks,
boundForm.nick.value()
what's wrong.
here is the complete form:
isc.DynamicForm.create({
ID: "boundForm",
fields: [
{name: "nick", title: "userid", type: "text", required: true, length: 20},
{name: "validateBtn", title: "button", type: "button", click: "RPCManager.sendRequest({ data: '' , callback: 'isLogin(data)', actionURL: '/data/checkLogin.php?user=" + boundForm.nick.value() + "'});RPCManager.sendQueue()"}
]
})
thanks,
Comment