What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Need help with "IF" statement

mawheeler4490

New member
I am trying to write an if statement for the example below

Address
Address Line 2
City, St ZIP

If address line 2 is null/blank it should return
Address
City, St ZIP

If address line 2 is not null/blank it should return
Address
Address Line 2
City, St ZIP

Not sure why I'm having such a hard time with this, but I've tried many different things and it's just not working for some reason
 
Back
Top