How could we set a textbox as a mandatory field and flag a message in webport (forms)

For creating a form using webport how could we set a textbox as a mandatory field and flag a message, if they try to submit entries without the mandatory field?