There is a way to do it using some code, but I'm not able to give you the answer. I have my website set up this way. If we don't have dimension, or the entries are "0", that whole section on the website does not display. Someone (Cody) at IO should be able to do this for you pretty quickly. Chad can probably figure it out too. I need to do this to my contract as well. Here's how mine looks on my website
There is a way to do it using some code, but I'm not able to give you the answer. I have my website set up this way. If we don't have dimension, or the entries are "0", that whole section on the website does not display. Someone (Cody) at IO should be able to do this for you pretty quickly. Chad can probably figure it out too. I need to do this to my contract as well. Here's how mine looks on my website
This works on the website, but I'm not 100% it will on a contract. UNLESS you put those variables in a container with the class similar to the website. Which could work
This works on the website, but I'm not 100% it will on a contract. UNLESS you put those variables in a container with the class similar to the website. Which could work
Wouldn't you just add something like style="~~*rental_dims* is empty~ ~display:none~~;"
I don't know how to say "is empty", so I just wrote that out. I think if that part were correct, this has a chance of working. That's the code I use in my contract to get other sections to not display.
Wouldn't you just add something like style="~~*rental_dims* is empty~ ~display:none~~;"
I don't know how to say "is empty", so I just wrote that out. I think if that part were correct, this has a chance of working. That's the code I use in my contract to get other sections to not display.
I keep coming back to this, trying to figure it out. I think this is closer, but it's not quite right. I'm piecing this together from info Cody has sent me over the years. I have these little bits of code he has sent me, with explanations of what they do. Nothing is a perfect match for this situation though.
I keep coming back to this, trying to figure it out. I think this is closer, but it's not quite right. I'm piecing this together from info Cody has sent me over the years. I have these little bits of code he has sent me, with explanations of what they do. Nothing is a perfect match for this situation though.
I give up... Can someone at IO answer this? What is the correct way to write "If the variable *rental_dims* is empty, do not display the word "Dim" on this contract"?
I give up... Can someone at IO answer this? What is the correct way to write "If the variable *rental_dims* is empty, do not display the word "Dim" on this contract"?
We already have developers working on this in another thread...in this case she already has items being hidden in the rental loop so we need some clarification.
We already have developers working on this in another thread...in this case she already has items being hidden in the rental loop so we need some clarification.
Chad and I would both like to do this to our contracts as well. We have been trying to figure it out for a couple of days, but we can't quite get it. I really just want the words "Item Dimensions" and Required Space" to not display if there is no information in those fields. I already have my website set up this way (Cody sent me the code for that). I just need the code for the contract template and I can slug it in there.
Chad and I would both like to do this to our contracts as well. We have been trying to figure it out for a couple of days, but we can't quite get it. I really just want the words "Item Dimensions" and Required Space" to not display if there is no information in those fields. I already have my website set up this way (Cody sent me the code for that). I just need the code for the contract template and I can slug it in there.
I could be wrong but the "display:inline;" may not be necessary with the space between ~ ~. It's that way in a lot of areas but adding the "display:inline;" is a comfort thing for me.
I could be wrong but the "display:inline;" may not be necessary with the space between ~ ~. It's that way in a lot of areas but adding the "display:inline;" is a comfort thing for me.
for fun, replace this style="~~*rental_ac*=0~display:none;~display:inline;~~"
My guess is that you're manually adding a "0" in the electric for each rental that doesn't need electricity. Which populates the field and isn't empty. SO replacing the code with this will mean you need to add a ) to everything that doesn't have electric. You can't leave it empty...in the inventory settings.
for fun, replace this style="~~*rental_ac*=0~display:none;~display:inline;~~"
My guess is that you're manually adding a "0" in the electric for each rental that doesn't need electricity. Which populates the field and isn't empty. SO replacing the code with this will mean you need to add a ) to everything that doesn't have electric. You can't leave it empty...in the inventory settings.
There is a way to do it using some code, but I'm not able to give you the answer. I have my website set up this way. If we don't have dimension, or the entries are "0", that whole section on the website does not display. Someone (Cody) at IO should be able to do this for you pretty quickly. Chad can probably figure it out too. I need to do this to my contract as well. Here's how mine looks on my website
There is a way to do it using some code, but I'm not able to give you the answer. I have my website set up this way. If we don't have dimension, or the entries are "0", that whole section on the website does not display. Someone (Cody) at IO should be able to do this for you pretty quickly. Chad can probably figure it out too. I need to do this to my contract as well. Here's how mine looks on my website
I give up... Can someone at IO answer this? What is the correct way to write "If the variable *rental_dims* is empty, do not display the word "Dim" on this contract"?
I give up... Can someone at IO answer this? What is the correct way to write "If the variable *rental_dims* is empty, do not display the word "Dim" on this contract"?
We already have developers working on this in another thread...in this case she already has items being hidden in the rental loop so we need some clarification.
We already have developers working on this in another thread...in this case she already has items being hidden in the rental loop so we need some clarification.
Are you needing clarification from me ? if so, let me know which one
Are you needing clarification from me ? if so, let me know which one
We are waiting on the developers for this
We are waiting on the developers for this
I GOT IT!!!
I'll probably butcher explaining but here it goes. At the very least Susan can maybe help add this for Isabella
Use "style="~~:empty(*variable*)~display:none~display:inline~~;" so it will look something like this:
<span style="~~:empty(*rental_ac*)~display:none~display:inline~~;">Elec Required: *rental_ac*</span>
This will hide any <span> that has an empty variable
I GOT IT!!!
I'll probably butcher explaining but here it goes. At the very least Susan can maybe help add this for Isabella
Use "style="~~:empty(*variable*)~display:none~display:inline~~;" so it will look something like this:
<span style="~~:empty(*rental_ac*)~display:none~display:inline~~;">Elec Required: *rental_ac*</span>
This will hide any <span> that has an empty variable
wait...I believe the developers already added the necessary code...
wait...I believe the developers already added the necessary code...
I have reverted it back...see if it's currently working for you...
I have reverted it back...see if it's currently working for you...
Not working: See now:
Not working: See now:
what lead #?
what lead #?
not signed; lead #11950343
not signed; lead #11950343
Try again...let's make sure we have the correct version
Try again...let's make sure we have the correct version
The request for the dimensions...I forgot to even ask about the electric because I was seeing the 15 amps. back the the drawing board.
The request for the dimensions...I forgot to even ask about the electric because I was seeing the 15 amps. back the the drawing board.
Ok, I got it to work for the elec: as well
Ok, I got it to work for the elec: as well
Here's what it ended up looking like...I failed because I was trying to combine. that doesn't work :)
<div class="divTableRow" id="repeat_start_rentals" style=" ~~empty(*rentalcategoryI)~display:none~ ~~;">
<div class="divTableCell">
*rentalimage* <strong>*rentalname*</strong> *fullrentaltime* <span style="~~empty(*rental_dims*)~display:none~ ~~;"><strong> Dim:</strong> *rental_dims* </span><span style="~~empty(*rental_ac*)~display:none~ ~~;"><strong>Elec</strong>: *rental_ac*x 15 amp *rental_notes*</span></div>
<div class="divTableCell center">
Here's what it ended up looking like...I failed because I was trying to combine. that doesn't work :)
<div class="divTableRow" id="repeat_start_rentals" style=" ~~empty(*rentalcategoryI)~display:none~ ~~;">
<div class="divTableCell">
*rentalimage* <strong>*rentalname*</strong> *fullrentaltime* <span style="~~empty(*rental_dims*)~display:none~ ~~;"><strong> Dim:</strong> *rental_dims* </span><span style="~~empty(*rental_ac*)~display:none~ ~~;"><strong>Elec</strong>: *rental_ac*x 15 amp *rental_notes*</span></div>
<div class="divTableCell center">
My Contrat FR for the quebec location is working now
Can you update the Contrat FR for the Montreal location please ? that one still show the Elect. See lead #11956349
My Contrat FR for the quebec location is working now
Can you update the Contrat FR for the Montreal location please ? that one still show the Elect. See lead #11956349
Should be fixed there too
Should be fixed there too
yes , thank you
yes , thank you
Replies have been locked on this page!