What exactly is the issue? Is it not showing or not hiding when you
change the checkbox? From your description you have the two text boxes
set to invisible but your script is only changing the presence of the
subform. If you show the subform without changing the presence of the
textboxes, they will remain invisible. If you want everything to
show/hide together, set the presence of the textboxes to visible and
just change the subform presence as you are now.
Still a little foggy. Are the words that you need to click on in a list
or is it a paragraph that allows you to click on any word? If it's a
list of words you can put each word in its own text field and use the
click event of the text field to extract the text. Set the caption to
none, set the appearance to none and set the default value to the word
that you want to display. Then in the click event use
PlaceThatYouWantToStoreText = this.rawValue;
The idea is the same as if you were using a checkbox, only you would use
the click event of the button. I'm curious though how someone would
click a button that is totally invisible. Is your plan to fill in the
text box when the user clicks on the field?
Another option is to deal with the account number as a string (text)
rather than a number. Unless there is actual math that is done with
account numbers there is no reason to manipulate them as a number. If
they are declared as text then they will be displayed and saved as
entered without any change to the format.
V,Julian dates can be confusing. First, do you mean Julian Date or
Julian Day Number? Julian Date is a fractional number, Julian Day Number
is a whole number. For a record number I'm not sure if you want
decimals. Also, you need to decide if you want to use the Julian or
Gregorian calendar as your base. Finally, I'm assuming that you only
care about recent dates, which simplifies things a bit.
The problem is not the Grand Total being zero, it's the uitkomst value.
That doesn't get set until the user fills out the bottom of the form.
When that value is zero, you're dividing by zero which is undefined.Try:
if ( form1.#subform.Body.GrandTotal >0 and uitkomst > 0 ) then...Hope
that fixes it.Kevin
Don't sweat it, this forum software isnt' that great.Once you're in
Acrobat.com you should be able to create a new workspace to share files.
Upload your file there, then highlight the file and choose the share
button on the bottom left. It will provide a link to the file; paste
that into the forum message and I shold be able to access it from there.
I've never done this myself so I hope the instructions are correct.
You shouldn't need two page subforms. When you start a new form Designer
defaults to positioned layout and generates a page subform for you to
lay things out on. Changing the page subform to flowed will allow it to
span multiple pages.