added conditional for phone in attend form