Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bashy's avatar

You're trying to do an if statement inside an echo?

jrdavidson's avatar

@bobbybouwmann No where are you applying the state error in the label though which is the issue that I've been asking about?

@bashy Yes because I'm wanting to use the same formatting of validation that a template is using.

Previous

Please or to participate in this conversation.