Naveen Goje Posted October 9, 2014 Share Posted October 9, 2014 Hi, Below is the code to pass a radio button value into Spotfire context, that is into a Document Property (input field type). Select date for filtering: Date 1 Date 2 Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 10, 2014 Share Posted October 10, 2014 Sorry, but there is data embedded since I was using the dxp for other purposes. Just wanted to share the HTML part for reference. : ) Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted September 23, 2015 Share Posted September 23, 2015 I am also experiencing the same problem that the property value does not change until the enter key is typed. How can I get that to work without typing the enter key Link to comment Share on other sites More sharing options...
Nicolas Stefaniuk Posted October 23, 2015 Share Posted October 23, 2015 Interesting. I am sure this solution has been described here before but your example is concise. 3 remarks anyway : data are not embedded (so a dialog pop up asking for the source), the document is heavy (1 Mb) for a small and concise example and you don't need the tag (but maybe it's a state-of-art of HTML to store INPUT in a FORM). Thanks Link to comment Share on other sites More sharing options...
Takeshi Kiura Posted October 23, 2015 Share Posted October 23, 2015 Hi Naveen! This demo is really fantastic, that's really I wanted. I have one request, Display in the input-field was changed by javascript but Property-value was not changed until I put enter key. Is it possible to change property-value automatically Thanks Link to comment Share on other sites More sharing options...
Takeshi Kiura Posted October 23, 2015 Share Posted October 23, 2015 Hi Naveen! I resolved the issue. Thanks! Takeshi Link to comment Share on other sites More sharing options...
John Justus 2 Posted October 23, 2015 Share Posted October 23, 2015 Hi, Can you embed the data and send the dxp again Thanks Link to comment Share on other sites More sharing options...
Steve Fernandez Posted May 1, 2019 Share Posted May 1, 2019 You need to add a bit of script to force the update. $('input[name=pack1]').on('change', function() { //Populate the Spotfire field, and use the blur method so Spotfire knows to update $('#spot1 input[type=text]').val($(this).val()).blur(); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now