fixing edit fields for requireLogin and showAdvanced.