danyon Posted September 22, 2008 Posted September 22, 2008 I have sliding set for multiple fields but one particular vertical range of fields has a calculated result but does not slide up like it's supposed to and has the result $0.00 if nothing is supposed to be there! Can anyone help me on this!?
mr_vodka Posted September 22, 2008 Posted September 22, 2008 Can you post more details? What kind of sliding options are you using? Can you post a screenshot or sample cloned file?
danyon Posted September 22, 2008 Author Posted September 22, 2008 The sliding options I'm using are: "Sliding up, based on all above" "also reduce the size of the enclosed part". I have a calculation result from the following code: (price1 + price2) * (1 + (Tax * .01)) Every other field works like it is supposed to with sliding except for the above field where $0.00 is continually output once any number is put into the Tax field. Is there a way to get around this issue?
comment Posted September 22, 2008 Posted September 22, 2008 Try formatting your field not to display number if zero.
danyon Posted September 29, 2008 Author Posted September 29, 2008 I saw your post and thought it should be a pretty simple script to run but I couldn't get it to display nothing if the result is $0.00. Could you offer some possible code based on my formula to calculate a new price after tax? Here's my current formula that I have: (price1 + price2) * (1 + (Tax * .01))
comment Posted September 29, 2008 Posted September 29, 2008 There's no need to change the formula. In Layout mode, select the field, and under Format > Number… turn on the 'Do not display number if zero' option.
danyon Posted September 30, 2008 Author Posted September 30, 2008 Thank you very much sir that worked like a charm, now according to what I've seen so far layout objects cannot shrink is that correct?
comment Posted September 30, 2008 Posted September 30, 2008 Some can, some can't - that's a rather wide statement you have there. Fields, when placed on a layout, are layout objects too.
Recommended Posts
This topic is 5898 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now