Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Not able to get current Value of selected radio item

    Hi,

    I'm using SmartClient 7.0 (IE 7)
    I'm facing problem while getting the current value of selected radio item.

    Here is the code :
    isc.DynamicForm.create
    ({
    ID:"resolutionForm",
    numCols:3,
    fields:
    [
    {type:"radioGroup", name:"charges",showTitle:false, valueMap:{1000:"1000",10000:"10000",100000:"100000",1000000:"1000000",0:"No Scan"},rowSpan:4,
    disabled:true,defaultValue:"1000",click:"sectionStack1.getSection('section1').setTitle(this.getValue())"},
    ] })

    On click of the selected radio item, I wants its value to be set at the title of one of my section. But every time I click on any option, it gives me the previous value.

    For ex: the current selected value is 1000, when I click on 10000, then on click event I get the value 1000(the previous one). I feel that it first return the value then select the radio button.

    Please assist,
    Thanks
    Abhinandan

    #2
    Try print on changed() instead of on click

    Comment


      #3
      Thank You very much, it worked !!!

      Comment

      Working...
      X