Is it possible to use the record button of the voice recorder widget to trigger a condition?

  • Profile Image
    JackCastronovo
    Asked on June 16, 2015 at 06:29 PM

    I'm presuming the answer to this question is "No, nyet, nix, nein, non, and "are you #$%## serious?" but I told the lab I'd ask, so here it is:

    I want to keep a field hidden until a few seconds (maybe 5) after the user clicks the Record button. That is, the record button will act as a trigger to reveal the next field. Just for kicks, I tried using the conditionals to see if it would trigger it at all, but of course, the conditional doesn't see the field as being filled until Stop is clicked. I also tried using a timer set to trigger when it reached the equivalent of a numeric field, but that isn't happening either. 

    If you can think of ANY WAY to get this to work with what I have to work with, I'd appreciate it, but again, I know it's an extremely tall order. 

     

    Thanks and kind regards,

     

    Jack

     

  • Profile Image
    raul
    Answered on June 16, 2015 at 08:38 PM

    Unfortunately, I don't think this is possible even using your form's full source code since the widget is rendered using iframes which are hard to handle.

    But, you may try using the example provided here: http://stackoverflow.com/questions/13214522/iframe-button-click-event which shows how to listen a click event in an iframe. This I think would allow you to accomplish what you want to do.