@If(@IsAvailable(Priority);@SetField("Priority";"High");FIELD Priority := "High")
Note If you create the field using this formula, it is not visible on the form, but you can get its value using the @GetField function. Be sure you use the correct spelling and capitalization when checking for the field in the document.