Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Populate a large paragraph from a drop-down selection

Avatar

Avatar
Level 1
Deirdre824
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
Deirdre824
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
Deirdre824
Level 1

10-03-2021

Hi,

 

I've been trying various scripts but I continue to get syntax errors no matter what I try. I am working on project that would require 1 of 4 states to be selected from a drop down that would populate the corresponding state's licensing info. Code below. Please tell me what I am doing wrong. Thanks so much! 

 

if(event.value=="Oklahoma")this.getField("Licensure".value="Oklahoma Licensing for MD’s: Application can be found on their website, listed below. The process typically takes about 60-90 days from the time you apply to issuance of a number, so please apply as early as possible (6 months pre-start is optimal). Failure to apply for an Oklahoma license on time, could potentially delay your start date. For more information and to download the application, please go to the Oklahoma Medical Board website: http://www.okmedicalboard.org/resources or you may call them at (405) 962-1400.

Oklahoma Licensing for DO’s: Application can be found on their website, listed below. The Board will review your application at one of the regularly scheduled Board meetings before granting you a license. The Board meets quarterly – the third Thursdays of March, June and September and the second Thursday of December. In planning your practice activity, allow an ample timeframe to achieve licensure. Their staff must have time to receive and process your application before it is presented to the Board and to determine if it is necessary for you to appear for a personal interview on Board meeting day. Applications not completed by the first day of each meeting month (March, June, September, or December) may not be presented for approval until the next quarterly meeting. We suggest starting the process 6 months prior to your start date to ensure it does not affect your start date. For more information and to download the application, please go to the OK State Board of Osteopathic Examiners website: http://www.ok.gov/osboe/Forms/Forms_for_Physicians/index.html or you may call them at (405) 528-8625.

OBNDD – Oklahoma Division of Health/Bureau of Narcotics & Dangerous Drugs (OBNDD, general information 800.522.8031). Please send this application in as soon as you get an Oklahoma license number and an OBNDD number will be issued typically within a week of your application. We encourage you to check on-line to make sure they have your current practice address correct. If they don’t, this could hold up your file and potentially affect your start date. Please note you must have a NON EXEMPT OBNDD. To download the application, please go to: https://www.ok.gov/obndd/documents/PRACTITIONER_APPLICATION.pdf

DEA - Drug Enforcement Administration. If you have a current DEA license, you will need to update your practice address. If you do not have a current DEA license, you will need to apply for one online. Please note that you cannot apply for your DEA until you have an Oklahoma license number and OBNDD. Please note you must have a NON-EXEMPT DEA to work at Mercy. Please be sure to submit this application as soon as you have both of those completed. Apply for your DEA online at: www.deadiversion.usdoj.gov
"; else this.getField("Licensure").value="";

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

149 likes

Total Posts

340 posts

Correct Reply

96 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

149 likes

Total Posts

340 posts

Correct Reply

96 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Kosta_Prokopiu1
Employee

10-03-2021

Problem 1: this.getField("Licensure".value="... is missing a bracket: this.getField("Licensure").value=

Problem 2: You cannot spread a string over many lines like that in JavaScript. 

var text = "begins at first line

and continues next line"; throws an error

var text = "begins at first line \

and continues next line";

or 

var text = "begins at first line " + 

"and continues next line";

 

For a newline use \n 

Answers (0)