since ‎11-02-2008
‎10-12-2019
pguerett
Level 9
Re: get exData body of a static text
Avatar

pguerett

pguerett
- Adobe LiveCycle
I used this: Text1.value.exData.saveXML("pretty")It returned this: This is a test The body tag has the formatting and the value that is in teh text object. Are you not seeing the somethig similar?Paul

Views

535

Likes

0

Replies

0
Re: PDF Form Time Sheet Web Service Questions
Avatar

pguerett

pguerett
- Adobe LiveCycle
That was not the issue. You have only put a field in the first cell so that is all that is being bound. Fill out the rest of the table with the objects that you want to appear there. Right now they are empty cells. So drag and drop a field into the cell and it will resize itself to fit the cell and also it will setup its own binding so that now when you export the data all of the fields in the table will appear.Make sense?Paul

Views

531

Likes

0

Replies

0
Re: Text{99999}
Avatar

pguerett

pguerett
- Adobe LiveCycle
The 9999 indicates that a numeric integer is expected at that location. In text fields you may choose to have a number as part of a string (Postal codes from certain countries have letters and numbers). There are 4 areas where you can apply a pattern to a field:Display - the pattern is pplied to what the user sees on the screenEdit - Describes the pattern of what the user is allowed to enter into the fieldData - the format of the data that is stored in teh data dom and ultimately submittedValida...

Views

207

Likes

0

Replies

0
Re: Flowable Form does not flow onto next page
Avatar

pguerett

pguerett
- Adobe LiveCycle
The root subform (probably the Page subform) needs to be set to flowed not positioned. Paul

Views

462

Likes

0

Replies

0
Re: get exData body of a static text
Avatar

pguerett

pguerett
- Adobe LiveCycle
You will want to use this expression: FieldName.value.exData.saveXML("pretty");The pretty parameter merely gives you a nicer format to view.Paul

Views

544

Likes

0

Replies

0
Re: PDF Form Time Sheet Web Service Questions
Avatar

pguerett

pguerett
- Adobe LiveCycle
Is the TimeEntry subform bound to a node? If so you need to add a [*] after it ...indicating that there is more than one fo those. I am assuming that Time Entry is the name of the repeating row.Paul

Views

527

Likes

0

Replies

0
Re: PDF Form Time Sheet Web Service Questions
Avatar

pguerett

pguerett
- Adobe LiveCycle
By giving your fields proper names you will be able to know what each data field represents .....the data woudl look something liek this: 8 ,8 ........Paul

Views

538

Likes

0

Replies

0
Re: PDF Form Time Sheet Web Service Questions
Avatar

pguerett

pguerett
- Adobe LiveCycle
If you create a single string to hold all of the xml from your form in your web service, then you can create a hidden field to hold the data in your form. Now you need to populate the field with teh data that has been collected. To do this use this code:fieldname.rawValue = xfa.datasets.data.saveXML("pretty")Now your field is populated with all of the form data a,nd if you bind the input string to that field when you execute the web service the data in that field will be submitted.Paul

Views

531

Likes

0

Replies

0
Re: Minimum requirements
Avatar

pguerett

pguerett
- Adobe LiveCycle
LIveCycle Reader Extensions Server is a server based program that runs on an application server (JBoss, WebLogoc or Websphere) on just about any platform (Windows, Linix, AIX etc...). It also requires a database to store its information in it. Once it is loaded and ready it provides a web interface (Flash based) that any of your user (assuming you have given then the rights) that will allow them to apply the rights to the form. The good news is that there is a turnkey install that will load an a...

Views

255

Likes

0

Replies

0
Re: The form readOnly access property is not retained after saving it.
Avatar

pguerett

pguerett
- Adobe LiveCycle
Open the form in Designer, under the File/Form Properties/Defaults menu option make sure the preserve scripting changes radio button is set to Automatic.Save the file and try it again.Paul

Views

309

Likes

0

Replies

0
Re: Help creating an array
Avatar

pguerett

pguerett
- Adobe LiveCycle
If you have Com fields across pages then you wil see that the expression access those objects will change ...hence you coudl use a for loop for each page. This assumes that you know how many com objcts are on each page. The you woudl adjust your for loop to start and end at the correct values.If you do not know how many com objects there will be per page (i.e. this is a dynamic form) then there is a completely different approach we can take. Let me which way your form is set up.Paul

Views

373

Like

1

Replies

0
Re: Unable to create Menu Item List Buttons in Forms - Not Working!
Avatar

pguerett

pguerett
- Adobe LiveCycle
1. That is expected behavior ….you cannot get external resources (like images) without the users consent after the form has been rendered. So having all of the images that you will use in the form is the way to go .2. This does not make sense to me …..if you change the color of the background when the field is active and the field only shows this when it is active why bother changing it back…the user will never see it in an inactive state (i.e. the dropdown list does not show unless the field is...

Views

312

Like

1

Replies

0
Re: Custom Reset Button
Avatar

pguerett

pguerett
- Adobe LiveCycle
The reset button is either reset the enter form or just the fields you pass to it. So you might find it easier to save the value of the 2 fields, reset the form then set the 2 fields back to what they were.Or if you wrap the fields you want in a subform , you can rest the subform and all child nodes of the subform woudl be reset as well. If you decide to go this route the make sure that the binding for the wrapping subform is set to none.Paul

Views

175

Likes

0

Replies

0
Re: DropDown value depends on another dropdown
Avatar

pguerett

pguerett
- Adobe LiveCycle
The rawValue property does not get set until you exit the field. Because you have coded it on the change event ....ythe vakue is not committed yet. So you have two choices ...you can move your code to the exit event (no change is required)...or if you want to stay on the change event you woudl test the xfa.event.newText instead of the this.rawValue . Note that you can only test this value once per event so assign it to a variable then test the variable in your code.Make sense?Paul

Views

394

Like

1

Replies

0
Re: Help creating an array
Avatar

pguerett

pguerett
- Adobe LiveCycle
I did not receive anything like this can you send it again and Identify this thread in the email? The email address is LiveCycle8@gmail.comPaul

Views

369

Likes

0

Replies

0
Re: PDF on mobile devices.
Avatar

pguerett

pguerett
- Adobe LiveCycle
I guess it was just the one I chose to look at …..I didn’t look that closely at itPaul

Views

365

Likes

0

Replies

0
Re: DropDown value depends on another dropdown
Avatar

pguerett

pguerett
- Adobe LiveCycle
Your issue is that in your function you are always referencing the 1st instance of the Size DDlist. Because you are doing this from a script object the context at which this script is running from changes so you have to explicitely say which one you want to change. If you were to leave the code in the DDList then ithe script would know the contxt that you are running in and you would not have to do this. I modified your form to show you how to do it with the scripting object. Note that I have to...

Views

299

Like

1

Replies

0
Re: PDF on mobile devices.
Avatar

pguerett

pguerett
- Adobe LiveCycle
Those forms are meant to be printed and filled by hand anr returned ...they are not electronic forms in nature hence they are able to be displayed like any other PDF. Paul

Views

369

Like

1

Replies

0
Re: setFocus and closeDoc
Avatar

pguerett

pguerett
- Adobe LiveCycle
If you want to do that you will not be able to take advantage if the validation features that are supplied for you . You will have to write your own validation code for that field on the exit event of you field.Hope that helpsPaul

Views

361

Likes

0

Replies

0
Re: Can I use math functions in a PDF?
Avatar

pguerett

pguerett
- Adobe LiveCycle
Absolutely ...you have a full javascript engine at your disposal.Paul

Views

219

Likes

0

Replies

0
Re: Scanning barcode numbers into pdf?
Avatar

pguerett

pguerett
- Adobe LiveCycle
You need a barcode scanner to do that .....put the cursor in a field , scan the barcode and it stuffs the keyboard and the value of the barcode appears in the field.Paul

Views

444

Likes

0

Replies

0
Re: setFocus and closeDoc
Avatar

pguerett

pguerett
- Adobe LiveCycle
You hav eput yourself into an infinite loop ....when you leave the field your exit event fires which causes your validate event to fire but before that is started the cursor is placed back in the field. The message comes up and you click on teh message to dismiss it. This causes the exit event to fire and the whole process starts over again. You can proove this by adding an app alert to the exit and validate event indicating that the event has fired .....there you can see when then evetns are fi...

Views

262

Like

1

Replies

0
Re: setFocus and closeDoc
Avatar

pguerett

pguerett
- Adobe LiveCycle
Sorry my bad!I do not like the idea of firing other events to do your code ......why not simply do your validation check on the exit event script?Paul

Views

258

Likes

0

Replies

0
Re: setFocus and closeDoc
Avatar

pguerett

pguerett
- Adobe LiveCycle
So put your code on the exit event and not the validate event ….the validate will fire when the form loads and when the form is submitted …..you are causing all of these additional events to fire for nothing.Paul

Views

252

Likes

0

Replies

0
Re: email attachment thorough a process
Avatar

pguerett

pguerett
- Adobe LiveCycle
You will have to stop the current component. then uninstall it, then inistall your new one. This shoudl be done in workbench. Open the Components view and fnd your component in the list. Right click on it and ther you can stop, and uninstall it. The omn the root of the components view you can right click and instal your new component.Hope that helpsPaul

Views

309

Like

1

Replies

0
Re: setFocus and closeDoc
Avatar

pguerett

pguerett
- Adobe LiveCycle
If you set the field as required then there is no need to check to see if it is filled or not. Thats what making a field required means. It will not allow you to submit the form until all required fields are filled. If you want to make sure that all fields are filled before a save is done or a print is done then you can put code on the preprint and presave event that will execute all validate events:form1.execValidate()Paul

Views

267

Likes

0

Replies

0
Re: Opening encrypted attachment using Acrobat JavaScript exportDataObject
Avatar

pguerett

pguerett
- Adobe LiveCycle
I do not know of a way to prevent it .....thats why I suggested going through support. You say that it does not happen all of the time ...it might be tied to browser and OS and version of browser......can you track teh problem people and see if you can get a commonality amoungst them?Paul

Views

197

Likes

0

Replies

0
Re: Trouble checking date field value with formcalc
Avatar

pguerett

pguerett
- Adobe LiveCycle
There is nothing wrong with your code. You placed it on the Initialize event which means that it is only executed when the form starts up. Take the code out of that event and put it on the Calculate event. Now it will fire everytime a referenced field (from your calculation) changes.Paul

Views

468

Likes

0

Replies

0
Re: Distribute to shared networ folder, sign and send full PDF via email help
Avatar

pguerett

pguerett
- Adobe LiveCycle
You probably have the signature set to lock all fields (including buttons). You can change that by highlighting the signature object and going to the Object palette and then the Signature tab. The locking possibilities are there …you will probably want to setup a collection and leave the button out of the collection.Paul

Views

215

Likes

0

Replies

0
Re: Distribute to shared networ folder, sign and send full PDF via email help
Avatar

pguerett

pguerett
- Adobe LiveCycle
You need Acrobat not ReaderPaul

Views

213

Likes

0

Replies

0
Likes given to