Conditional Statement Help!

Joe W. shared this question 12 days ago
Answered

<tr>

			<td align="center" style="border: 1px solid gray; width: 15.941%;">
				<span class="event-details" style="~~!Delivery(*delivery_or_return*)~display:block~ ~~; ~~Return(*delivery_or_return*)~display:none~ ~~;">*setupstart*</span>
				<span class="event-details" style="~~!Return(*delivery_or_return*)~display:block~ ~~; ~~Delivery(*delivery_or_return*)~display:none~ ~~;">*tdownstart*</span>
			</td>

Comments (1)

photo
2

Would it not be better to do ~~*d_or_r*==Delivery~display:block~display:none~~;


I'm not sure I'm seeing what you're doing, but it looks like you're hiding the setup start time if its a pick up and hiding the teardown start if it's a pick up.


Assumably on a packing list?


Does that look right?

photo
1

Worked perfectly

photo
Leave a Comment
 
Attach a file