Set element display from input
Set element display from input