Hello,
I've recently posted this form to solve a few issues.
Now I have a new problem.
While in LiveCycle ES, I select the XML Source Tab....
LiveCycle thinks for a bit but nothing happens!....
Does anyone know how to fix this problem?
I do not want to go back to an old form and redo all the work.
Thank You
Arnold
Solved! Go to Solution.
Views
Replies
Total Likes
This one is wierd .....I found a way to fix it but I cannot explain why it is doing what it is doing.
Simply add an xfa.layout.relayout() command to the Print button. Add that command before the print command. I think the issue is happening because you are doing all of this from Master Pages .....I want to move all of that to the Body page and see if the same thing happens.
Paul
Views
Replies
Total Likes
I did receive the message but the post in the morning had no attachment.
Did you post it into the forum?
Arnold
Views
Replies
Total Likes
Yes
Paul
Views
Replies
Total Likes
Hi Paul,
We started testing the form and the checkboxes matched up very well. Something odd has come up... After selecting a few boxes we would try to select none to clear the selections. The checkboxes clears up but after printing the avoidance text box retains value. Is there script that would clear the avoidance text field if "none" is selected?
Thank You,Arnold, we are very pleased with the results.
Views
Replies
Total Likes
Seems to work fine for me .....tell me the exact steps you are doing to duplicate the problem.
Paul
Views
Replies
Total Likes
Hi Paul,
I figured out what they were asking about.
The box is also used for text edit.
text is added to specify type of food or medication.
If a doctor or nurse decides to click none everything should clear.
But once you manually alter text or add free text it remains in the text box.
example:
Foods(add food here)
Foods: Carrots, Peas
Once none is selected after "Carrots, Peas" added it does not auto remove if checkbox "None" is selected.
Hope that explains it, I had to ask again what the problem was.
Thank You,
Arnold
Views
Replies
Total Likes
This one is wierd .....I found a way to fix it but I cannot explain why it is doing what it is doing.
Simply add an xfa.layout.relayout() command to the Print button. Add that command before the print command. I think the issue is happening because you are doing all of this from Master Pages .....I want to move all of that to the Body page and see if the same thing happens.
Paul
Views
Replies
Total Likes
Good morning,
Ok, if that fixes the problem without compromising the layout then it's perfectly fine,
Thanks,
Arnold
Views
Replies
Total Likes
Hi Paul I added the command,
And the command is preventing the Avoidance from printing at all.
Here is how I added it.
topmostSubform.#pageSet[0].PageArea1.#subform[0].PrintButton1::click - (JavaScript, client)
xfa.layout.relayout()
xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
topmostSubform.#pageSet[0].PageArea1.#subform[0].PrintButton1::mouseUp - (JavaScript, client)
xfa.host.messageBox("Print 2 copies of form and keep a signed copy for the Medical Record");
When I added the command, the avoidance would not print at all.
Did I do something wrong?
Arnold
Views
Replies
Total Likes
Hi Paul,
I found when I put the command on the exit command,clicking none would properly clear the avoidance text.
So I tested out something else. Here is what I found:
When clicking on the food or medicine box, I would type in the types of food or medicine to avoid.
The wording would return to the default "(List Food(s) here)" after selecting another checkbox.
This would mean I had to type in the food or medicine over again.....
So we fixed the None box to clear the avoidance that works fine.
But now when selecting food, typing in the food restores default when another checkbox is clicked. Any solutions?
Arnold.
Views
Replies
Total Likes
Views
Likes
Replies