B13677 Implemented variable to get required new from form and set status of formelement preview button correctly.