Skip to content

obtain value from users table and use this to set the option in drop down list on another form #5633

Answered by shortsam1
shortsam1 asked this question in Help
Discussion options

You must be logged in to vote

This is the code that ended up working for me.
if (this.isNew()) { var ud = Authorization.userDefinition; this.form.HospitalId.value = ud.DefaultHospital.toString(); }

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@shortsam1
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by shortsam1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants