Common search form for guests and user validation during edit.