Loading...
 
Skip to main content

Features / Usability


Datachannel Help

This is probably getting old for you all but I need to know if it is possible and if so how to pass a drop-down tracker item to the input of a datachannel. I'm not proud to say that I have been working on this for weeks and have not resolved the problem. Jyhem's solution works perfectly for keyboard input but I am calling existing data therefore no DOM events. (besides I don't even know JQuery well enough to know if that is the correct assessment) This is what I have:

1. Using a trackerplugin calling user registration data, i.e. town, state and displaying it for the user to verify. If all is well, pass that data to the datachannel using the syntax

City,external=ins_5
State,external=ins_6

This works for text fields. The drop-down passes "undefined" although it prefills with the correct value. Therefore, how do I/can I filter the select name="ins_7" -> option:selected -> value to the datachannel 'Country' parameter?


Thanks for any input,
Robert Rasgorshek

Hello All;

If it's supposed to be possible to pass a drop-down tracker item ( using the tracker plugin ) to the datachannel plugin then, I think, there is a bug. I have duplicated the setup on the tiki demo site http://demo.tiki.org/10x/tiki-index.php?page=dropdown_callQuestion and currently it functions exactly as it does on my dev site. Using Chrome's consoles and looking at the dropdown_call sources on lines 1016, 1017 are the input values. They return what they should when evaluated in the console. Line 1018 returns undefined (resulting because the function val() doesn't return the desired value because it is operating on a drop-down). So using JQ I passed the value for the drop-down input to the datachannel but it still returns null/undefined ( on lines 1118 and 1119 ) Would someone look at the situation to verify a possible bug and let me know so I can file a Bug/Wish. Or if I screwed up let me know how to fix it. Thanks for your time.

Take care,
Robert