Skip to main content
Participant
September 13, 2019
Answered

Help with If else Statement by using a drop down menu

  • September 13, 2019
  • 1 reply
  • 342 views

Hi 

 

I am creating a fillable timesheet for work

 

I want to choose a option from a drop down boxwhere this will then give me the cost code for that option in the drop down box. I am new to Javascript.

 

for example if dropdown1 = supervision then textbox1 = 1234456

 

I have a couple of items in the drop down box for example

 

Supervision      =        1234456

Sick Leave       =         789654

Annual Leave  =          456123 etc.

 

thanks in advance 

    This topic has been closed for replies.
    Correct answer ls_rbls

     

    1 reply

    ls_rbls
    Community Expert
    ls_rblsCommunity ExpertCorrect answer
    Community Expert
    September 16, 2019

     

    Technical Generalist