I want to have all entered text populated into specific text fields to automatically convert to upper case. I am working in LiveCycle Designer ES2.
How can I set a text field to convert all text entered to upper case when populated?
e-mail button changes email address when submitting
Hello,
For some reason when I try to e-mail my form when I hit the submit by e-mail button in the Send Form that pops up the e-mail address that the form is supposed to be sent to is different than what I have set it up to be on the form. I have tried creating the e-mail submit button using the e-mail button from the standard library and by using a regular button and changing it to a submit button, but it does not make a difference.
Can anyone tell me how to get it to not change the e-mail address when I try to submit my form? The e-mail address I have entered it to be sent to is: tamara@psychologistsassociation.ab.ca but when I go to submit when testing my form it adds an "a" onto the end of association so the e-mail address is changed to: tamara@psycholoigstsassocationa.ab.ca
this means that when I submit it the form does not go to my inbox because the email address is wrong, even though the e-mail address is entered correctly in the Object palette in LiveCycle Designer.
Thanks
Tamara
TimeSheet to round to nearest quarter hour
I have this time sheet that has four "In" and four "Out" columns,and calculates hours worked in a two week pay period. There is a column on the right that calculates the hours worked for the day (see script below). I need it to round to the nearest quarter hour i.e.,
If an employee arrives or leaves between:
":00" to ":07" minutes after the hour, calculate from the top of the hour
":08" to ":22" minutes after the hour, calculate from quarter after the hour
":23" to ":37" minutes after the hour, calculate from the half hour
":38" to ":52" minutes after the hour, calculate from three quarters past the hour
":53" to ":60" minutes after the hour, calculate from the top of the hour
Examples:
An employee records that they arrived at 8:07 a.m. Calculate from 8:00
An employee records that they arrived at 8:08 a.m. Calculate from 8:15
An employee records that they arrived at 8:22 a.m. Calculate from 8:30
An employee records that they arrived at 8:37 a.m. Calculate from 8:45
An employee records that they arrived at 8:53 a.m. Calculate from 9:00
Script in "Hours Worked" column
// compute block 0
var StartInterval = 0
if(HasValue(OUTA1[0]) and HasValue(INA1[0])) then
StartInterval = Time2Num(OUTA1[0].formattedValue, "HH:MM") - Time2Num(INA1[0].formattedValue, "HH:MM")
endif
// compute block 1
var LunchInterval = 0
if(HasValue(OUTA1[1]) and HasValue(INA1[1])) then
LunchInterval = Time2Num(OUTA1[1].formattedValue, "HH:MM") - Time2Num(INA1[1].formattedValue, "HH:MM")
endif
// compute block 2
var EndInterval = 0
if(HasValue(OUTA1[2]) and HasValue(INA1[2])) then
EndInterval = Time2Num(OUTA1[2].formattedValue, "HH:MM") - Time2Num(INA1[2].formattedValue, "HH:MM")
endif
// compute total time in hours from the millisecond value
Round(Sum(StartInterval, LunchInterval, EndInterval) / 3600000,2)
I know in excel I can use =(ROUND(B2*96, 0)/96)-(ROUND(A2*96, 0)/96) to get the results I want. So I tried entering in something similar into the FormCalc script but with no luck. If you could tell me what I need to do to get this to work I'd be very appreciative. Thank you, Derrick
How to add page numbers
How can add page numbers to my 10 page document I just
created? Is there a way for me to add page numbers in the footer like you can in MicroSoft Word?
The problem is, I already have created my form & can't re-arrange it any. If I coul
d manually type the page number in that would be fine to...I just need it to be in the footer area..Can someone help?
frustrating problem with a dat/time field
I'm pretty new to this tool (LiveCycle) - trying once again to edit/create a very simple writeable pdf form
I have inserted 2 date time fields. I have one set up correctly to auto insert the current time when the form opens so user does not have to do this..;
The next field should be a time field so the user does not have to enter that either.
I have the date field loading properly, but for the life of me cannot get the time to display at all. I tried:
1. Addding a new date/time field
2. Duplicating the one that works and just changing the format to "Time"
3. Tried deleting both and then creating them again.
I discovered by deleting both and starting anew, that I can get the date to appear in both fields, but I cannot get anything else to appear. I cannot get the time to appear in either field.!!
Frustrated: Can someone tell me what I'm doing wrong here...
Since I don't see a place for me to upload the form here, I've posted at the following site
I think you can just download it and have a look - if someone would be so kind - might explain things better to see it for yourself. It seems buggy to me, but I dont know!!!!!
Thanks ahead,
Dan A.
See it at: http://provsnusa.com/test.html
How to change master page subform background colour
I have a form with two master pages. On each master page there are two subforms with header and footer content.
When the form is printed, I want to change the background colour of the subforms, from grey to white. This will reduce toner useage.
I have put script into the preprint and postprint events but whilst the script seems to be executed, the colour does not change.
Is there something different about the object model that I need to take into account?
This is the script that I have on the form for each subform affected.
<event activity="prePrint" ref="$host" name="event__prePrint">
<script contentType="application/x-javascript">
this.border.fill.color.value = globalWhiteColour.value;
</script>
</event>
<event activity="postPrint" ref="$host" name="event__postPrint">
<script contentType="application/x-javascript">
this.border.fill.color.value = globalHdrBackgroundColour.value;
</script>
</event>
When I put debugging script in the events I could verify that the colour settings were indeed changed, just that when printed, the colour had not.
Any suggestions appreciated.
Current date & time in text field
I need to auto-fill a text field with four letters plus the current date and current time. The text field should populate when the user clicks a checkbox.
For example, if today is April 25, 2012 and the current time is 10:27 a.m., the text field should read: UNIS0425121027. (The time can be in military time or not - it doesn't matter.)
Thank you in advance for any help you can offer.
Delete a node in XML
Hi
I have a XML that is getting generated on click of a button in the form.
I am using xfa.data.saveXML("pretty"); to generate the XML.
Following is the XML,
<?xml version="1.0" encoding="UTF-8"?>
<xfa:data xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
<ELEMENT>
<DATA>
<ROW_IID>0</ROW_IID>
<PARENT>0</PARENT>
<CHILD>0</CHILD>
</DATA>
<NAME>
<FNAME>0</FNAME>
<LNAME>0</LNAME>
</NAME>
</ELEMENT>
</xfa:data>
I want to delete the <NAME> node in the XML and assign the manipulated XML to some text field.
Could anyone please let me know how to do the same?
Thanks:)
Using app.popUpMenu() in Livecycle
I have read some articles by T Parker on how to create popup menus buttons with Acrobat but I can not get them to work in LiveCycle. The pop up menus work but I can not get it to return a value. Can this even be used for LiveCycle and if so how?
timer in livecycle
Hi everybody
I try to get the presence of these objects when the file is opened. I use the initialize event. It works in a random way. Sometimes it's OK, sometimes it stops anywhere and sometimes it doesn't start. I assume that a pause is needed. But how can I do that.
Many thanks for your help !
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.one").presence = "visible";', 500);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.two").presence = "visible";', 1000);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.three").presence = "visible";', 1500);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.four").presence = "visible";', 2000);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.five").presence = "visible";', 2500);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.six").presence = "visible";', 3000);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.seven").presence = "visible";', 3500);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.eight").presence = "visible";', 4000);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.nine").presence = "visible";', 4500);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.ten").presence = "visible";', 5000);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.eleven").presence = "visible";', 5500);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.twelve").presence = "visible";', 6000);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.thirteen").presence = "visible";', 6500);
var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.fourteen").presence = "visible";', 7000);
LiveCycle Designer "Menu Bar" missing
How can one get the menu bar back (File, Edit, View ... Window, Help) in LiveCycle Designer ES (8.2)?
It's installed as part of Acrobat 9 Pro on Windows Vista.
In the process doing screen prints and dragging images between documents (e.g., paint and word) I mistakenly dragged the menu bar off the LiveCycle Designer work area. On another monitor I realized it wasn't acting like what I was going to paste and (not realizing what it was) took it to the lower left of the monitor (out of the LCD screen) and dropped it. Going back to LCD I discovered that it must have been the menu bar and ... not to be found.
I've uninstalled Acrobat 9 Pro, rebooted, removed the Users/<username>/App Data/Roaming/Adobe/Designer folder, and then did a complete install (not 'Typical', not 'Custom') of Acrobat 9 Pro and STILL NO MENU BAR.
The menu bar acts almost like a toolbar or palette but is apparently treated differently ... position, etc stored in the registry?
I also saw that F9 supposedly restores the menubar in Acrobat 8 on Windows (but no effect in LCD); also tried the Acrobat 8/Mac solution (Ctrl-Shift-M) with no effect.
Also, doing a restore is not an option (thanks to our system folks).
Any help appreciated.
Is it possibile to add dynamic piechart on PDF form
Hi
I am trying to create a calculation PDF form. This form is doing several calculation. I need to plot/draw/create pie chart based on the data entered on form.
Is this is possibile using Adobe LiveCycle Designer?
How can i do this task?
Thanks in advance.
Thanks,
Victor
How to do dynamic calculation on PDF Form
Hi friends,
I need to to create a invoice page using Adobe PDF dynamic Form.
Business Requirement:-
1. User will select predifined product, Quantity, Rate and Amount would be calculated. Tax would be calculated from the below data.
2. I have a tax table
0 - 1000 2%
1000 - 2000 5%
3000 - 4000 7%
Queries:-
- how to write script to calculate Tax based on above tax table data? How to ref. a table data?
- how to write script keeping in mind about adding new percentage in future?
Cheers,
Victor
File Upload field in livecycle designer
Hi
Am trying to create a form which allow user to add an attachment and want to display the size of the attached field.And also i wnt to save the form in the local system .Could anyone help me to come out of this.
Flatten Livecycle forms
It's been a few versions, so I thought I would raise this again and see if I can get an answer....
I have a LiveCycle form. I use LiveCycle because I need the functionality that allows a field to expand over multiple pages if necessary. If it weren't for that, I would be using AcroForms.
Once a person sends me their completed form (of however many pages it turned out to be), I need to flatten it so that it looks the same as when it is submitted, but without any fields (I REALLY don't want to/can't just make the fields read-only).
I have tried many things. the latest it to try to use PDF2PS and Acroread to create a PS document, then running that PS document through the distiller. The Distiller, though, doesn't recognize the output.
I have, at my disposal, all sorts of tools. Coldfusion, Acrobat Pro, and iText. I have Windows systems and Linux (I would prefer to do this in Linux).
Does anyone have a solution?
I thank you in advance.
Error using PDF Form from SAP/R3.
I am not sure if this is the right section to report this issue.
I got report from SAP Staff. Following are the detials.
Error is thrown when trying to display PDF From in SAP R/3.
The error is:
Call contained error(s). ADS (2Invalid HTTP Connection: ADS)
Message no. FPRUNX003.
Any idea what is the problem?
Tarek.
activate the "Highlight Fields" button by javascript
Hello,
there is the button "Highlight Fields" which is rendered by default by Acrobat Reader below the toolbars and before the pdf content.
When the button is pressed, then each form field gets background color and the selected field has different background color.
Is it possible to activate this field by javascript ?
Thanks.
if statement in Java Script
Hi,
I just want to create a simple IF statement. I have looked at two text books and the on-line help but it still does not work.
I have two fields.
One is called "IfTest"
The other is called "PFValue"
If "A" is entered in field "IfTest" then I want the text message "50:50" to appear in the "PFValue" field. If "A" is not entered the I want "50:25:25" to appear.
The formula I have entered in field "PFValue" is :
ProFormaInv.Invoice.PFValueB::calculate - (JavaScript, client)
if (IfTest.rawValue == "A")
"50:50"
Else
"50:25:25"
But it does not work. What have I done wrong? I have attached the pdf form I am creating which is a Pro Forma Invoice.
Regards
Chris C
I am new to es3 and trying to script how to group by several categories.
I would need to group by several categories, subtotal within the main category and then total on tha main category on a repeatable form. The data is from an underlying db. Here is my scenario:
MAIN GROUP: OFFICE
SECOND GROUP (WITHIN MAIN): TYPE
THIRD GROUP (WITHIN SECOND/MAIN)
BASED ON SECOND GROUP WITH 4 TYPES OF POSSIBLE COMBINATIONS:
1. NO $ in AMT_TRES
2. $ in AMT_TRES
3. $ in AMT_ACCT
4. $ in both AMT_TRES and AMT_ACCT
IN_TRES: Column name to capture third group indentifier 'X'
IN_ACCT: Column name to capture thrid group indentifier 'X'
#COUNT: per Type and THIRD GROUP
SUBTOTAL OF TYPE
TOTAL of OFFICE (MAIN GROUP)
***FORM EXAMPLE***:
IN_TRES IN_ACCT #COUNT AMT_TRES AMT_ACCT
OFFICE: DITCO
(TYPE) UMD 167 $ 0.00 $ 0.00
UMD X 800 $ 18232.00 $ 0.00
UMD X 12 $ 0.00 $ 12.53
UMD X X 432 $ 9672.25 $ 1269.00
SUBTOTAL UMD 1411 $ 27904.25 $ 1281.53
RAP X 17 $ 42596.00 $ 0.00
SUBTOTAL RAP 17 $ 42596.00 $ 0.00
OTHER X 411 $ 0.00 $ 4212.50
OTHER X X 630 $ 4679.75 $ 7569.00
SUBTOTAL OTHER 1041 $ 4679.75 $ 11781.50
INTF X 72 $ 0.00 $ 5812.53
SUBTOTAL INTF 72 $ 0.00 $ 5812.53
TOTAL FOR: DITCO 2541 $ 75180.00 $ 18875.56
Thanks
How to reorder / move new pages and subform instances
I have a form that has 2 functions - show a hidden page and duplicate the Page 1 and I need to reorder the pages once the user has added an instance or shown a page. I have Form A (Page 1) that can be duplicated but the user can add in a Form C (extra page) to be attached at the end of that instance of Form A. So it goes like this:
Form A (Page 1)
button 1 - Adds new page 2 "Form C" to end of that "Form A"
if (CompleteFormC.rawValue == 1) then topmostSubform.FormC2.presence = "visible" xfa.host.pageDown(); else topmostSubform.FormC2.presence = "hidden" endif
button 2: Adds a new instance of "Form A"
topmostSubform.FormA.instanceManager.addInstance(1); xfa.host.pageUp();
Currently, it adds the Form C to the very end, like so:
- Form A
- Form A
- Form A
- Form C
- Form C
- Form C
I am trying to reorder the pages so the user can add in a Form C to every instance of Form A, like so:
- Form A
- Form C
- Form A
- Form C
- Form A
- Form C
It's a little complicated but I would appreciate any help at all!