Is there any way possible I can get a dynamic text box to display the selected content of a list box.
I can email the project Im currently working on for better understanding.
Is there any way possible I can get a dynamic text box to display the selected content of a list box.
I can email the project Im currently working on for better understanding.
Here:
myListBox.addItem("Test1", 1);
myListBox.addItem("Test2", 2);
myListBox.addItem("Test3", 3);
myPushButton.setLabel("Submit");
myPushButton.setClickHandler("myClickHandler");
myClickHandler = function () {
DynamicTextField.text = myListBox.getValue();
};
Tell me how it goes.
yours,
h88
Check the attached attachment, it does what u need.
Hmm, i can’t attach this here!!
I zipped it but it could’nt be attached, anyways, this script should work though!
I’ll send you the file so you can see exactly what I’m trying to do.
Do you have an email address??
Ok, but i think this answered ur question, well, am going to attach this Zip into my website, plz wait.
Press on the link(between brackets)[link]
Do you have an email the file is too big to attach to here
U saw the word link between the brackets, just press on it.
The first part of your code is working well the list box does display test1.test2 and test3. But the text box wont show I noticed that your version has an input text box I tried that to no avail.
Sorry to be such a pest.
First of all, did’nt u download this zip:
http://www.binmurshed.ae/componentTest2.zip
Second thing, u should define a button :O, anyways, check the zip first.
I got it, I got it, I got it
Thank you so much!!!
myListBox.addItem(“Test1”, 1);
myListBox.addItem(“Test2”, 2);
myListBox.addItem(“Test3”, 3);
myPushButton.setLabel(“Submit”);
myPushButton.setClickHandler(“myClickHandler”);
myClickHandler = function () {
DynamicTextField.text = myListBox.getValue();
};
I had it typed it as:
DynamicTextField.text = myPushButton.getValue
sorry about that I’m an idiot
I have to change my naming conventions
no problem.
:: Copyright KIRUPA 2024 //--