All Caps (Uppercase) Actions on User Input LOOP

All Caps (Uppercase) Actions on User Input LOOP

Hello All,

I am wanting to have all the text in a user input field converted to Uppercase.
The following does the trick, but then I get a endless revolving arrow icon next to the field.  This tells me that it is in a loop replacing the same All Caps data.  How do I get the loop to stop.  I hit the ESC. button and the revolving icon does stop.  Is there a way to have it stop immediately and remove the revolving icon?

Here is my current code for the Actions on User Input script.

course_all_caps=input.Course_number_section.toUpperCase();
Course_number_section=course_all_caps;

Any advice would be greatly appreciated, greatly appreciated, greatly appre........