I am trying to check to see if data exist in my form If data does not exist I want to assign it to O. How can I do this.
There are actually two things you want to to ensure. First, make sure this page was arrived at by submitting the proper form. Next, ensure you have a numeric value for the form.age variable. Here is an example of how you might want to code this:
...more code to process form
...code for when page was not arrived at properly