Conditional placeholder attribute output