Code cleanup and what about blank xprofile data? (Need dynamic link to profile)
-
Just added this to the top of the activity stream. It’s just the start of a section to change the navigation based on the chemistry teacher. More details will be added to each if statement after the basic code works for everyone. Options for field=Instructor “Heiny” “Ellis” “Brooks” “Susilla” “Other” “None” might also have left this blank.
`
Your chemistry instructor is: Dr. HeinyYour chemistry instructor is: Mrs. EllisYour chemistry instructor is: Mr. Brooks`
However, what if the kid didn’t complete that area and the field is blank? Is this correct?
`
You have not chosen a chemistry instructor in your profile. Please edit your profile today.`
How can you build a dynamic link to the person’s profile in the above code?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Code cleanup and what about blank xprofile data? (Need dynamic link to profile)’ is closed to new replies.