Originally Posted by LearningCoder
When I try to echo out the variables inside the action form, no values are showing.
Do you mean inside a function? If so then no they won't be available to you.
The global keyword must be used inside the function not at the top of your main script.