Harold Mansfield
11-30-2010, 04:25 PM
I have a problem with some PHP code in trying to style a form.
Everything I try, breaks the output.
Here is the code:
if ($this->options['display_options']['phone_number']):
_e('and my phone number is', SB_NAME); ?>
<input type="tel" spellcheck="false" autocapitalize="off" name="phone" id="newticket_phone" value="" class="validate[required] w115">.
<?php endif;
if ($this->options['display_options']['priority']):
_e(' 5. I would classify<br> this as a', SB_NAME); ?>
<select name="priority" id="newticket_priority" class="validate[required]">
<?php sbUtils::dropdown($this->options['priority_levels'], __('- choose one -', SB_NAME)); ?></select>
<?php _e('priority', SB_NAME); ?>.
<?php endif;
The problem is, as is, it outputs the lines strung together.
4. My best email is and my phone number is __________. 5. I would....
I need to start a new line so that they aren't.
4. My best email is and my phone number is_______.
5. I would ...
Can anyone help on this?
Everything I try, breaks the output.
Here is the code:
if ($this->options['display_options']['phone_number']):
_e('and my phone number is', SB_NAME); ?>
<input type="tel" spellcheck="false" autocapitalize="off" name="phone" id="newticket_phone" value="" class="validate[required] w115">.
<?php endif;
if ($this->options['display_options']['priority']):
_e(' 5. I would classify<br> this as a', SB_NAME); ?>
<select name="priority" id="newticket_priority" class="validate[required]">
<?php sbUtils::dropdown($this->options['priority_levels'], __('- choose one -', SB_NAME)); ?></select>
<?php _e('priority', SB_NAME); ?>.
<?php endif;
The problem is, as is, it outputs the lines strung together.
4. My best email is and my phone number is __________. 5. I would....
I need to start a new line so that they aren't.
4. My best email is and my phone number is_______.
5. I would ...
Can anyone help on this?