Announcement

Collapse
No announcement yet.

onchange ajax event not triggerd

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • onchange ajax event not triggerd

    If you create an ajax onchange event on a field which is filled by a capture link then the event will not trigger. Ie. You want to search for a certain person. you link to a grid to find it. Click select. Then I need an event to fill the rest of the screen with the keyvalue which has been passed back. That doesn't work.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

  • #2
    I have found a work-around using onblur, but it's not a nice solution.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Hello,

      I have reported this issue to our bugs team for further testing.

      regards,
      Bernhard Bernsmann

      Comment


      • #4
        Hello Mr. Drent,

        What is the type of the field that is triggering the event (text, number, select)?

        Additionally, could you try to trigger the event passing the value yourself (without the link), just to make sure the event is/isn't triggered?

        regards,
        Bernhard Bernsmann

        Comment


        • #5
          Problem is that I discover the issues while developing. I have found another solution and problem in SC is that you cannot easily fix a status quo for further testing. It was a text field and I added display to find out. If the dropdown is filled the event is not triggered. If the dropdown has more than one value then the event is not triggered. But if you select another value from the list then the event does trigger.I don't think that the fieldtype is of any use here.

          I want that if I fill a lookup (select) by a caption link that initially the event should fire as soon as the value of the field changes from spaces (empty) to the first of any list. I need that event to search data upon this field. Now I cannot, and need to wait to leave the field (onblur). Depending on mouse action I needed an onfocus in the next field to to capture all possiblities. All could be avoided if the event would trigger.
          Albert Drent
          aducom software netherlands
          scriptcase partner, reseller, support and (turn-key) development
          www.scriptcase.eu / www.scriptcase.nl

          Comment

          Working...
          X