Advanced Reference Qualifier Based-On Current Variable

codechaser
Giga Expert

Need help setting-up an advanced reference qualifier that uses the 'u_term_code' field from the *Term drop-down as a dependency and returns a list of courses that share the value.

javascript: u_term_code = current.variables.u_term_code;

Above, is the code I currently have.

Grade_Change_Form.png

47 REPLIES 47

No Prob!   Wanted to make sure you had them, both.



Ref_u_bsu_terms.png


Ok Great



So you need reference qualifier in course as



javascript: 'u_term_code = '+current.variables.u_term_code;



And In the default tab of course add



ref_qual_elements= u_term_code



Please mark this response as correct or helpful if it assisted you with your question.

Thanks for all the help, Sanjiv!   Unfortunately, I am still unable to return any results from the form in the Service Portal.   I added ref_qual_elements= u_term_code to the variable attributes field in the Default tab, to no avail.


Ok. Can you add this to attribute in your term variable


ref_qual_elements= your_course_variable_name



Please mark this response as correct or helpful if it assisted you with your question.

I tried that and still nothing.   I am using the variable name from the form in the code snippet you provided, and it still doesn't return any courses.   I feel like we're close to where we need to be, but just missing one thing.