Converting some explicit class::constants to self

also the static::constant causes errors, changed to self::constant
Fix Class cases
Make it so if you accidentally hit submit in the preview it doesn't submit the form