Hi friends,
I'm new here ! and I have a question:
First a bit of information about the client version and browser im using:
- SmartClient Version: v9.0_2013-07-03/LGPL Development Only (built 2013-07-03)
- i'm using Firefox 31 on Ubuntu linux.
I have an GUI which contains input elements, dropdown lists, checkboxes etc. this is an existing working GUI (developed by another developer that is not avaiilable anymore)
What I basically am trying to do - is get the value (checked\un-checked) of a certain checbox in the form.
I'm trying the following:
I've also tried .getValueField and a couple of others.
nothing works, I also get a null.
form.getField("checkbox_name") returns a FormItem object which I'm not fimilar with.
How do I get the state\value of a checkbox in a form ?
Any help will be appreciated.
Thanks!
I'm new here ! and I have a question:
First a bit of information about the client version and browser im using:
- SmartClient Version: v9.0_2013-07-03/LGPL Development Only (built 2013-07-03)
- i'm using Firefox 31 on Ubuntu linux.
I have an GUI which contains input elements, dropdown lists, checkboxes etc. this is an existing working GUI (developed by another developer that is not avaiilable anymore)
What I basically am trying to do - is get the value (checked\un-checked) of a certain checbox in the form.
I'm trying the following:
Code:
Boolean chk_state = form.getField("checkbox_name").getValue();
nothing works, I also get a null.
form.getField("checkbox_name") returns a FormItem object which I'm not fimilar with.
How do I get the state\value of a checkbox in a form ?
Any help will be appreciated.
Thanks!
Comment