Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all 16286 articles
Browse latest View live

How do I wrap radio buttons from page to page?

$
0
0

I am working in LiveCycle 8.0 to create an employee service awards sheet. Basically the sheet lets you choose a watch and a gift card to a listed store of your choice. The gift cards fit nicely on one page, so there's no problem, but because of the size of the watch images, I need 2 pages to display them all.

 

I want employees to only be able to select one watch, but at this point I have 2 different groups, one per page. I dont want employees to be able to select a watch from each page by mistake.

 

I have tried to go in and group them using Layout---> wrap in new radio button group, but the option is greyed out. I tried to select all of them individually and group them that way, which also backfired. I also selected the groups and right-clicked and the option to group is also greyed out.

Does anyoneknow of another way to link the radio buttons on the first page so they group with the buttons on the second page?

 

If anyone has any advice, I'd really appreciate it.


Adding multiple email addresses to email submit button

$
0
0

I have created a fillable form, but cannot figure out how to get the email submit button to email multiple people once clicked.  Any ideas on how to do this?

Automatic row height resize on Text cell containing a Floating Field

$
0
0

Hi all,

 

Hope someone can help me out

 

I'll explain my scenario with a simplified example to keep things to-the-point:

 

I have a Table with 1 Column and 2 Rows. The cell in Row1 is Text (NOT a Text Field) which contains a Floating Field. I have a button on my form that populates the Floating Field with a string. If the string value that is inserted into the Floating Field is very long, the text overflows outside the borders of the cell.

 

Screenie.png

 

It seems that the table row height does not adjust dynamically to changes to the length of the text within the cell.

 

Any ideas?

 

Thanks,

Adobe Livecycle Designer 10

$
0
0

Hello - I need the download link for Adobe Livecycle Designer 10. I am unable to find it on the forum as questions there about it are unanswered after 2 years. Please let me know where the download area is.

 

Heather

Maintaining the X and Y axis of a subform

$
0
0

Hi,

Need help for the scenario mentioned below:

 

I have a table , the data of which overflows. Below the table i have a subform. When the data in the table overflows to the next page, i need the subform below it to be placed in the same position ie at the end of the page. But when i keep it flowed, it just appends itself to the position where the overflow ends. But instead, i require the subform in a fixed position. Is there any code that i can write to maintain the axes? Please advise.

Complex binding in Adobe LC designer ES2

$
0
0

Hi ,

I am facing an issue with complex binding.. the design requires two tables with one row each. The row in both the tables have the same databinding ( from the XML) and repeats for each occurence of the data. But as the values are consumed in the first table, the second table neither overflows nor orints even one value. can someone please advise?

Thank You.

 

Regards,

Vidya N

Identify and remove a particular instance

$
0
0

I need some assistance with this. I have a checkbox which creates an instance in a seperate form when checked. It creates, gives values to dropdown lists in that instance, and moves it to the end of all the previous instances just fine.

 

I cant seem to get the removeal of this field to work when the checkbox is deselected. Since users have the ability to reorder instances I cant just remove the last instance, I need the removal to happen based on the value of the dllField when that value = "Text"

 

Here is my code:

 

//CheckBox value
varValue=this.rawValue

//Checkbox = unchecked
if (varValue==0)
{
//remove instance where ddlField = "Text"
var instanceOCRRem = xfa.form.RicohStandardEDDForm.Page6.sub18ExportFieldedDataFields.subconcordancefields.sub Rows.subRow.resolveNode("subRow").ddlField.rawValue="Text"
xfa.form.RicohStandardEDDForm.Page6.sub18ExportFieldedDataFields.subconcordancefields.sub Rows.subRow.instanceManager.removeInstance(instanceOCRRem);
}
//Checkbox = Checked
else if (varValue==1)
{
//add instance, set the value of the ddlField and ddlECapField, then move it to the end of all the previous instances
var instanceOCR = xfa.form.RicohStandardEDDForm.Page6.sub18ExportFieldedDataFields.subconcordancefields.sub Rows.subRow.instanceManager.insertInstance(1,true)
var nIndexFrom = instanceOCR.resolveNode("subRow").index;
var instanceCount = xfa.form.RicohStandardEDDForm.Page6.sub18ExportFieldedDataFields.subconcordancefields.sub Rows.subRow.instanceManager.count -1;
instanceOCR.ddlField.rawValue="Text"
instanceOCR.ddlECapField.rawValue="OCR Text"
instanceOCR.resolveNode("subRow").instanceManager.moveInstance(nIndexFrom,instanceCount);
};

Drop down list disappears first time selected.

$
0
0

Drop down list disappears first time selected.  I have had a form working for over 4 years.  was working this week.  Today I downloaded the production version. 

 

When I went to test it (with no changes),  all of my drop downs disappear the first time I select them.  the second time, they stay and I can select data.

 

using Live Cycle 8.2 .


How to check the space(s) in a text field?

$
0
0

I have a text field with the following validation rules:

  1. not null or empty;
  2. alphanumeric;
  3. 8 characters
  4. no space between or before/after

 

I wrote some Javascript functions to do the rules 1,2,3, but don't know how to do with 4:

1. check if null or empty

function isEmpty(str) {
if(str == null || str.length == 0) {
  return true;
}
return false;
}

2. check if alphanumeric

function validateAlphaNumeric( strVal ) {
var regExp  = /^[a-zA-Z0-9 ]*$/;
return regExp.test(strVal);
}

3. check if 8 characters

function validateInputLength( str, length ) {

if(str.length == length ){

  return true;

}

return false;

}

 

Is there a way that I update check 2 with a regular expression including check 4 (check if any space bar input)? Or shall I use a for loop to check the whole string, if so, how? Or any other solutions? Sorry, I am not very good in Javascripts and regular expressions.

 

Thanks

Sam

2 fields with the same value

$
0
0

I have a form with a numeric field and I want the same value to be carried over to a field in the master page.  I just copied the field so they are the same in both places, but the field in the form does the calculations correctly, but the identical field I copied over to the master page is not calculating?

 

Any idea why?

 

Thanks!!!

How to Populate a drop down list using the values of a text field?

$
0
0

Hi,

 

I wanted to Populate the items of my drop down list according to the value entered in the textfield above it?

also the value of list remains consistent in other rows also where i am using the drop down list field.

Please Try to help me in this query.

Thanks in Advance!!!

 

I am using Javascript in adobe version ES 8.2.

Loop through a table

$
0
0

Is it feasible to write code that loops through a table in a form? I'm currently writing separate sections of code for each row of a five-row table to validate data entries.

Sample XML file connection - works with preview but not without

$
0
0

Hi guys,

 

I have previously posted about attempting to use data from a web-script in a form. Originally I planned to attempt to use JSON (as the web script already returned JSON) but it seemed like it was going to be too arduous of a process, so I am trying again using a sample XML style data connection.

 

I have modified my web script to return xml as well as JSON (depending on URL parameters). I created a sample XML file data connection, using the web address of the web script as the location. It prompts me for authentication (which it accepts when entered) and advises me that the site uses a self signed certificate (which it does, for now). I created a test form (I am using the trial version of Livecycle ES2) and added a drop down box.

 

In the List Item Bindings for the drop down box I set it up like so:

screenshot.PNG

The XML looks like:

 

<response>     <users>          <user>               <name>Chris O'Kelly</name>               <userName>ChrisO</userName>          </user>          <user>               ...          </user>     </users>     <filter>status</filter>     <error>0</error></response>

 

If I preview or save and open the form at this point I get a blank drop down. No data.

However, if I go to File>Form Properties>Preview and add the same link to my xml output where it says data file, it works fine in Preview. It displays the list of names EXACTLY as I want it. It still does not, however, when saved and opened.

 

I also added

xfa.host.importData("path to our xml output", true); to the initialize event of the initialize event of the drop down, to no avail.

 

Can anyone see what I am missing that is added by a preview data file and not a sample XML data file connection?

Hide subform if text field is null

$
0
0

I have this script on the change event of a text field:

 

if ((this.rawValue != "null") || (this.rawValue != ""))
{
checkBoxThree.presence = "visible";
}

else
{
checkboxThree.presence = "hidden";
}

 

It is correctly displaying the checkBoxThree subform when data is entered in the text field.

 

However, if the user goes back and deletes the text, I would like the subform to become hidden and it isn't. How should I change the script to accomplish this?

 

Thanks,

MDawn

Repeat data from one growable table into a new one

$
0
0

Hi there,

 

I've successfully managed to create a table in LC designer4 which grows - ie. it's a four column table with a header row followed by one row where I can add information into three table cells. If I need to have another row I click the add row button (placed within the header row) and a new one appears. There's also a remove button which can sytematically removed a row. I'll call this my parent table.

 

So far so good.

 

Maybe it's better to explain exactly what I'm doing here...

 

My parent table is a kind of to-do list Call it Table X. Each column is as such: 1. what needs to be done 2. who will do it 3. when will it be done

it's growable, so if there are more than one action that needs to be performed it will add extra rows.

 

I also want to create a new table which is an update on the to-do list Call it table Y:

 

column A. what needed to be done (this data is pulled directly from column 1 on the to-do list)  column B: did it happen? column C: if not, why not - columns B and C are new and are not pulling data from the to do list.

 

The problem is two fold: How do I repeat the data from column 1 (bearing in mind that I can't use global data binding as column 1 can have multiple different entries) and if I can get beyond that first hurdle, how do I make make table Y automaticall expand to the same amount of rows as table X?

 

I should mention that I'm a designer so my programming expertise is severely limited. I've managed to create the first table by looking at tutorials rather than knowing it myself. As far as I'm aware the first table is done in javascript.

 

Any help would be greatly appreciated!


Show Hide dropdown field on selection in another dropdown field

$
0
0

Hello I need to create two dropdown fields on a dynamic PDF in LiveCycle. The first field contains three choices. When a user chooses an item in the first dropdown I would like a new dropdown field to been shown. For each item in the first dropdown a new dropdown field with unique values will be shown. If the user chooses Blue the Blue Shades dropdown will show in that dropdown will be various shades of blue to choose for. If Red is chosen, Shades of Red dropdown with appear and if Yellow is shown the same will occur. Also if the user has to go back and change their selection in the first dropdown they can do that as well. Any suggestions?

 

Thank you in advance.

Change button background fill property

$
0
0

Hi,

 

I'm building a dynamic form and I have a requirement to change button background fill style from Linear to Solid using javascript. I'm using Linear style to represent active button and Solid style for inactive buttons. Can someone please help me with sample script?

 

 

Thank you,

Sandeep

How Do I Create Conditionally Required Check Boxes?

$
0
0

Hi there,

 

I am working in LiveCycle Designer ES3.  How do I make child check boxes conditionally required when a parent check box is checked?  I am able to get script to work to make a text box required when its corresponding check box is checked, but I can't get the same script to make child check boxes required if a parent check box is checked. 

 

The problem I'm running into is that I can't change the Value Type of a check box to "Recommended" which is how I was able to get this conditional requirement to work for text boxes using the following script on the Change event for the text box's corresponding check box.

 

if(this.rawValue =='1')

{

EXAMPLETEXTBOXNAME.mandatory = "error";

Gender.mandatory = "error";

Gender.border.edge.color.value = "225,0,0";

}

else{

EXAMPLETEXTBOXNAME.mandatory = "disabled";

Gender.mandatory = "disabled";

Gender.border.edge.color.value = "0,0,0";

}

 

Please see the picture below.  When the top (parent) check box is checked, the user should be required to check at least one of the (child) check boxes below it.  Please let me know how to do this.

 

conditionallyrequiredcheckboxes.JPG

 

Thank you.

dynamically create new table with set number of rows

$
0
0

I have a form to collect data from a region on a quarterly basis. Data is collected in a dynamic table with the ability to report, by county, in expandable rows in the table. This functionality is working fine.

 

I want to dynamically create a second table (based on the first table). I have set up a button to dynamically creates an exact replica of the first quarter table for use in filling in second quarter data. I would like to ensure that when the second quarter table is created, the entries from table 1 are populated in the second table. I think I need to use some type of a counter and when creating the second table, use the counter to establish number of rows in the second quarter table. I also want to populate the county column so the user does not have to re-enter. I see code from a similar thread on how do that part, but do not know how to dynamically and correctly created the second quarter table. The table is wrapped in a subform. The add new quarter button code is simple javascript:

 

_UPT_Services.addInstance(1)

 

Screen shot:

Screenshot 2018-03-20 14.27.22(2).png

 

 

Appreciate any help members can provide.

Livecycle Runtime Error

$
0
0

Hi

 

New to Livecycle and trying to import a PDF. it almost loads the whole way and then will stop with a runtime error and the apllication crashes. it only does this on the one form i want to work on! all other pdf's seem to import OK. would love some help

 

cheers

Viewing all 16286 articles
Browse latest View live


Latest Images

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