Skip to main content
Alizai
Participating Frequently
August 11, 2023
Answered

I need help regarding, dropdown , textbox and buttons

  • August 11, 2023
  • 1 reply
  • 696 views

Hello mates, 

I have attached a test file and I want solution of following 

1.

                  if dropdown.value="N/A", then textbox.value=" ",

                  if dropdown.value="0", then textbox.value="0%,

                  if dropdown.value="1", then textbox.value="25%,

                 if dropdown.value="2", then textbox.value="50%,

                if dropdown.value="3", then textbox.value="75%",

                if dropdown.value="4", then textbox.value="100%,

2. value in dropdown should be in center rather than left side

3. when I move to next dropdown then it shouldnt allow unless entry of last textbox/dropdown is not made

4. print command should be enabled after entries of all textboxes/dropdown lists

5. clear button should clear all the filled textboxes/dropdown values.

 

would be thankful for helping me in this regard.

This topic has been closed for replies.
Correct answer Nesa Nurani

There is no need to create duplicate posting.

As I explained in your previous post, here is your file with changes made to first dropdown field:

https://drive.google.com/file/d/1rw3LJpW5f1cYQuHpykM3ZRzZhuwHRXxT/view?usp=sharing 

1 reply

Nesa Nurani
Community Expert
Nesa NuraniCommunity ExpertCorrect answer
Community Expert
August 11, 2023

There is no need to create duplicate posting.

As I explained in your previous post, here is your file with changes made to first dropdown field:

https://drive.google.com/file/d/1rw3LJpW5f1cYQuHpykM3ZRzZhuwHRXxT/view?usp=sharing 

Alizai
AlizaiAuthor
Participating Frequently
August 12, 2023

Thanks for doing this, but there is one line code in custom calculation script i.e

this.getField("Text1").value = event.value;

whereas I want this for several dropdown lists, and I used this with different Textbox names but get no proper result. Please send me complete script / code thanks alot