Parameter Text Box

Hi All -


I'm on BI v4, and am using a 7 different Parameter Text Boxes to submit data to a Data Input cube I created within the same project. I'm using a button control to submit this request via a DataInput script in the onClick method of the button properties. I want to clear the text in each of the Parameter Text Boxes I have on page after the user clicks the button. Does anyone know the script I should use to control this?


Regards,

Sanford

Thanks, but I just answered my own question, should have done a little more diging before posting. My apologies to the forum!


All you have to do us put this in the onClick along with the submit request - ParameterTextBoxName.control.value = "";


Regards,

Sanford

Hi Everyone -


I think I spoke too soon. When I put the script in to clear the value, nothing gets posted in the cube. It is clearing before anything gets submitted. Anyone have any creative ideas on how to get around this?


Thanks for your help,

Sanford

Have you tried changing the execution order? use the arrows to position the Data Input at the top so it executes first.

Image title


With that said, I would recommend simply waiting for Version 5. It will be released very soon and includes just the feature you are looking for:

Clear the input fields and refresh multiple visualizations with the Data Input interaction

Can you post you script so we can take a loot at it?