Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all 5571 articles
Browse latest View live

Draft watermark - hide or show object in masterpage?

$
0
0

I'm very new to this so am just learning as I go and realise that what I want to do may not be possible but here goes.

 

I have a livecycle form with extended user rights enabled so that the content can be saved.

 

However the user would like to be able to add a "draft" watermark to this while it is in progress and then remove it when the form is completed (it takes some time!!)

 

I know watermarks aren't possible with livecycle forms but I thought maybe I could cheat a little and insert a button at the end which would change show or hide a text object "draft" in the masterpage to basically turn a watermark on or off.

 

This doesn't seem to work though.

 

Is there anyway at all to allow the user to change the visibility of an object in the masterpage? Or does anyone have any other suggestions?

 

Thanks in advance if anybody can help.

 


Expanding Bar Graph

$
0
0

I am using the followng code to create a horizontal bar graph inside a table cell containing a subform. I want the height of the bar to "grow" when the subform grows. The subform grows when the user enters more than one line of data in a different cell in the same row.

 

Form1.Table1.ActionItemGrp.Row5.PercentCompleteSubform.HiddenPercent::calculate - (JavaScript, client)if(PercentComplete.rawValue !==null){
 this.rawValue = PercentComplete.rawValue;
 var vScore = 0; if (this.rawValue == 1) { vScore = vScore + 1; }if (this.rawValue == 2) { vScore = vScore + 2; }if (this.rawValue == 3) { vScore = vScore + 3; }if (this.rawValue == 4) { vScore = vScore + 4; }if (this.rawValue == 5) { vScore = vScore + 5; }if (this.rawValue == 6) { vScore = vScore + 6; }if (this.rawValue == 7) { vScore = vScore + 7; }if (this.rawValue == 8) { vScore = vScore + 8; }if (this.rawValue == 9) { vScore = vScore + 9; }if (this.rawValue == 10) { vScore = vScore + 10; }
 var vWidth = (vScore/10) * 1.5109; // width of the subform
 this.resolveNode("Table1.ActionItemGrp.Row5.PercentCompleteSubform.Bar").w = vWidth + "in";
 this.resolveNode("Table1.ActionItemGrp.Row5.PercentCompleteSubform.Bar").x = ".01in"; // relative to the subform}

I want the height of the bar (rectangle) to grow the same height as the subform it is in when it expands.

 

Thank you

Simulate a watermark

$
0
0

I'm trying simulate a watermark with a text in light gray on my master page, but i can't rotate this textfield more than 90º.

 

Can someone tell me how to get it?

 

Thanks

Subject: Sub-sub-subform with multiple iterations at ea level

$
0
0

I am building a form with 3 levels of subforms.  At each level, there can be multiple iterations of the item.
The only way I can get it to work is by editing the xml data file so that every field in each iteration
has a placeholder (ex.  <capacityField type="String" />), even when its a null field.

In the past, if a field was null, it would format correctly, even if there was no field identifier (or "placeholder")
for the field.

Is there a fix for this?  Or is this something that the schema needs to be setup to control?  If it is a schema
setup issue, how does it need to be set up?

Schema Illustration:

Party(items)
      CompanyName
      CompanyAddress
      Contact(items)
            Name
            Address
            Code
            Statement(items)
                       FirstCountField
                       CapacityField
                       ConsolidateField
                       Frequency(Items)
                             FreqName
   
Sample Data:

 

ABC International Company Party1
      ABC Chicago Party1 Company
      1414 State Street
      Chicago IL
      Code 40
       Postal Statement1
                 4
                 15 Max
                 16161616534 ABC Consolidated Acct
                       Monthly Freq1
                       Bi-weekly Freq2

XYZ Telecom Company Party2
      14 San Francisco Party2 Company
      1414 Bay Street
      San Fran CA
      Code 30
       Wire Statement1
            2
            100 Max
            1234123434 XYZ Consolidated Acct
                  Daily Freq1
                  Weekly Freq2
       Postal Statement2
            7
            52 Max
            987987987 XYZ Consolidated Acct
                  Daily Freq1
                  Weekly Freq2
                  Monthly Freq3
 

Permission Denied when trying to Save or Save As

$
0
0

I don't know what I did to make it happen. I added a couple of new text boxes and now it won't let me save. Sometimes it says something about Myriad Pro being the default (and I'm ok with that). Here is my error log:

 

Generating PDF Document...

Font Service: Default font typeface is Myriad Pro.

PDF generated successfully.

Generating PDF Document...

Font Service: Default font typeface is Myriad Pro.

Unable to open or create file C:\Users\owner\Documents\Kathee's Docs\3-NMF\public_html\Lab Test Order Form - Version Feb 2014-Female.pdf

Permission denied

Generating PDF Document...

Unable to open or create file C:\Users\owner\Documents\Kathee's Docs\3-NMF\public_html\Lab Test Order Form - Version Feb 2014-Female.pdf

Permission denied

 

2 warnings/errors reported.

 

Any ideas????

 

Kathee

Time Spent in Form

$
0
0

I would like to track the following: a timestamp when the user first opens a form, and the total time spent filling out a form. Is it possible to collect this information?

Text Field - Fill Color

$
0
0

I am developing a form with a drop down list and multiple text fields. Base on the user select on the drop down, other fields will be changed as Mandatory or ReadOnly

 

To improve the usability, i want to gray out those Not required / Read Only fields.

 

 

 

I am trying to do it with the following script:

 

this.resolveNode("textField1").fillColor = "195,195,195";

 

 

However, both caption and input box area are gray out.

 

Is there any script that will gray out the input box only?

How do I create expandable text form fields on this form?

$
0
0

Expandable_Form_Fields.jpg

Situation: I am tasked to convert the above document designed in MS Word 2010 into a dynamic fillable pdf form.

 

Background:

  1. I edited the MS Word document so that the sections that need to be fillable have text boxes.
  2. I converted the Word document into a pdf document.
  3. I am using Adobe Acrobat X Pro to 'Create PDF Form'
  4. I formatted all the text font and font size to the Times Roman, size 12, per our facility requirements.
  5. In Properties of these text fields, I checked Multi-line and Scroll long text.

 

Assessment:

  1. I watched the video http://tv.adobe.com/watch/acrobat-x/creating-expanding-form-fields/ and still am having trouble with the next items.
  2. When previewed, the text fields allow for several lines of text, the scroll bar appears, but when I click outside of the text field, no plus-sign appears.
  3. I found and launched the LiveCycle Designer application that came with Acrobat X Pro and I have never used it before.

 

Recommendations:  I hope someone can guide me to completing this dynamic form by:

  1. Recommending changes to the form so expanding form fields will work.
  2. Recommend other resources to learn more about LiveCycle Designer.

 

Thanks,

MNez


How to get the current row index of a subform?

$
0
0

Hello Adobe experts,

 

first of all I have to apologize beforehand, if I don't provide all the necessary information of my problem. It's my first question here...

I'm using the livecycle designer in combination with SAP to create print forms, so I have to deal with most of the provided XML data. My problem is the following:

 

In our invoice form we have a subform "position" which contains another subform "data" which is repeated by the number of positions we have in our invoice. So if a customer bought three items, the subform "data" gets also repeated three times. To display certain kind of

pricing information, I really need to know the row index of the subform.

For example:

 

Row index 1 --> Item No. 9876, 14$

Row index 2 --> Item No. 9871, 10$

Row index 3 --> Item No. 9870, 12$

 

I already tried POSITION.DATA.instanceManager.count in the calculate event of a field in the subform, but it only returns 3, the absolute number of rows.

 

 

I'm sure, there is an easy solution, but I really didn't find anything so far.

 

 

Thanks in advance

André

Does Adobe take care alignment on its own automatically?

$
0
0

Hello,

 

I have a bunch of fields in my_form, but as business requirements got changed hence, I need to delete a handful fields (red in color) from the form, but their positions are at different level, as shown in the below pic.

 

Delete fields auto alignment.jpg

 

My question is, if I delete the fields does Adobe take care of automatically aligns the rest valid fields (green) on its own or I need to align the green fields manully? I tried w/ couple of fields, and learn that the Adobe did not aligned automatically, so, do I need to do any settings so taht the Adobe will do it automaticallly?

 

Thank you

Columns repeat

$
0
0

In Adobe Livecycle form I have string array $.HEADER. I need to output all elements of this array in table header cells. It is possible if I will not to use binding for every header cell, but if I will someway use columns repeat?

Multiple Iterations of an element - Item[*]

$
0
0

I built a form in Adobe LiveCycle with an xml schema and data file.  The problem is with how the form renders the xml data file.

 

I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.

 

But here's the problem:  When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
(example of placeholder:  <statementName type="String"/>   )in the xml for that field, my form pulls the field value from the NEXT statement.
This corrupts all the rest of the statement records, as this field is shifted up for all the rest.

 

I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder.  And where is the problem? In the Schema? The xml data file? My form?  And the 64-thousand-dollar question:  How to fix it?

Make Table Field Required When Other Table Fields are Filled In

$
0
0

Good Morning,

 

After combing through the forums I couldn't find an answer for the the following scripting scenario.

(Or maybe I am asking the wrong question)

 

I have a Table (Name: InputTable) with a Header Row, and a footer Row (for a Grand Total Function), Add/Delete buttons, as well as Addition scripts.

 

The client has requested that if a dollar amount is put in one or any of Cell4, Cell5, Cell6, Cell7, Cell8, Cell9 or Cell10
Then Cell1 becomes a required field.

 

This Table must have an Initial count of 10 Rows, so I can't simple make Cell1 a Required field, because there could be blank/empty rows being submitted, and that would fire errors.

 

Could someone please provide an example of the Script I would need to Add to Row1, Cell1? (Or the resources of where to look)
And can this script be made to work on all Rows Added?

 

I don't do alot of scripting and I could sincerely use help on this.

 

Thank you all in advanced, I appreciate you taking time to help me out!

 

-Michelle

Need Registry Help / Clarification on "Word (version XP or onwards) could not be found"

$
0
0

In regards to "Word (version XP or onwards) could not be found on this machine" and the registry hack I have a few questions.

 

Current Set up: Windows 7, 32-bit.
LiveCycle ES2, All of the patches have been applied to LiveCycle ES2

MS Word 2010, winword.exe found in C:\Program Files\Microsoft Office\Office14\

 

I have read: http://forums.adobe.com/message/3983628

And I get that the only way to fix this is by doing this:

 

Problem is the Registry. LiveCycle searches only the following folders.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\Word\InstallRoot

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Word\InstallRoot

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot

But word 2010 is under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Word\InstallRoot

So, solution is (for win x32):

Create following Path in Registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot

create new "string value" "Path" with value "C:\Program Files\Microsoft Office\Office14\"

Quotes are not necessary.

 

The question I have is about what sections in the Registry need to have the Path added.

Is it only:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot

 

Or do these areas need it as well?

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Word

 

And last:

Does the adding the Path apply to only the 12.0 or does this need to be added to the 14.0 folders too?

 

I've never played with the Registry, and after applying the hack to the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot folder, I still cannot import Word files.

So I'm guessing it is just my ignorance on how the Registry works, or I misunderstood something in the instructions.

 

Thanks for the help! 

Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer

$
0
0

I built a form in Adobe LiveCycle with an xml schema and data file.  The problem is with how the form renders the xml data file.

 

I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.

 

 

But here's the problem:  When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
(example of placeholder:  <statementName type="String"/>   )in the xml for that field, my form pulls the field value from the NEXT statement.

This corrupts all the rest of the statement records, as this field is shifted up for all the rest.

 

I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder.  And where is the problem? In the Schema? The xml data file? My form?  And the 64-thousand-dollar question:  How to fix it?


Header/Content Area/Footer tabbing order

$
0
0

Hi All

 

My issue is that my xdp will not allow me to set the tab order of the content area to occur between my page header and footer. I am only able to have my PDF tabbing set to Header->Footer->Content Area (or) Footer->Header->Content Area. I do have my tabbing order correctly setup in the "Tab Order" panel. I also have my "Hierachy" setup correctly. Using the pdf reader the document reads through perfectly however when tabbing through it seems as if all "Content Area" content is defaulted to always tab through last. Is this a setting that can be edited? Otherwise does anyone have a solution to my problem?

 

Note:  Unfortunatly I am unable to post my XDP, but this problem should be easily replicated by creating a Subform named Header(with content) a Content Area(with content) and a Subform named Footer(with content). In its default state this will not tab through correctly in "Preview PDF" or after Rendering.

 

Thanks

Paul

Displaying different subforms based on a dropdown list

$
0
0

Hi,

Does anyone have a basic script to display different subforms depending upon the value in a dropdown list?  I have tried the following code in the change event of the dropdownbox, but it has no effect.  I am developing a form in Lifecycle Designer 8.2.

 

 

form1.test1.DropDownList1::change - (JavaScript, client)

 

if (this.rawValue=="1")

 

subform1.presence="visible"

else

if (this.rawValue=="2")

subform2.presence="visible"

else

subform1.presence="invisible"

 

Please can anyone advise me?

 

Thanks

 

 

subform2.presence="invisible"

 

 

dropdown functionality

$
0
0

Hi,

 

I have an dropdown that allow custom enter and textfield. The user enter in the dropdown get added to list on exit and for textfield I have used an hidden dropdown where it store the values of textfield. Whenever i select any of dropdown values its should auto populate the texfield value. For this i have used index to get the value display.

Clicking on the add button and select the dropdown value, then the textfield is displaying the dropdown value instead of its selected index.

Please help.......

Connect to odbc database - error message

$
0
0

Hi,

I have created an access database that my form uses to lookup using a dropdown list, when I enter the sql statement in the oledb connection I get the following error message.

 

sql statement: select firstname, surname from table1;

 

error message: could not execute the query "select firstname, surname from table1;".

 

My database is simple and does not have any password controls.

 

Does anyone know what is causing the error message and how to solve it?

 

Thanks

Wyn

How do I white-out or hide existing printing on a document? RUSH

$
0
0

Hello, I'm rushing to complete a project, and I was given a PDF document to fill out by hand!!! No way with my writing. I converted the PDF to a PDF form. The PDF has some text and lines that interfer with the text fields I added in LiveCycle. How can I cover-up, white-out, or hide these unwanted lines and text?

Thank you!

Tom

Viewing all 5571 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>