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

export data without signature data

$
0
0

Hi all,

 

Is it possible when you use a digital signature in Adobe Livecycle designer to export the data without the signature data.

 

Look forward to hear from you,

 

 

Regards,

Ed Boon

Visioned


Date field populates depending on when form opens

$
0
0

Hi - I have a form to be submitted that includes a list of subjects for a particular meeting that happens each Monday. Can a date field populate with the date of that Monday when the form opens in the preceeding week? And then happen each week after that?

 

Thanks.

how to get dropdown selected value

$
0
0

I'm trying to set up a form so that a text field will populate with dropdown value.

 

to bind dropdown i am using sqlserver database.

 

i tried this but it is not working :-

var sNewSel = this.boundItem(xfa.event.newText);

and

var sNewSel = $.boundItem(xfa.event.newText);

this code works if drop down bind eith XML source but does not work if dropdown bind with sqlserver data base

 

Please help.. Thanks in advance

How to add page numbers

$
0
0

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?

Can Reader users Save Form and Preserve data?

$
0
0
I designed a form with Livecycle Designer and sent it to a few people who have Reader only. They are able to fill in the form but when they try to save it they get a message stating: "Data typed into this form will not be saved. Adobe Reader can only save a blank copy of this form."

This product seems absolutely useless if users cannot save their forms. I have to believe I've made a mistake or placed some restrictions on the form that is forcing this error. I've read in other posts that people are indeed sending forms to customers to fill out and email back. So saving from Reader must be possible right?

Can anyone tell me what I've done wrong? Thanks.

"You cannot save data typed into this form" !

$
0
0

Has anyone figured out a workaround?  I know there are other free viewers (tracker software) but small business client isn't going to like that they have to pour thousands into reader extensions.  There must be a way for a PDF designed in LiveCycle ES4 v.11 and allow the end user to save a copy (and submit via email) from Acrobat Reader DC.  I see lots of threads complaining about this very simple problem but I do not see any solutions that utilize a free adobe reader.  I am aware of the PRINT to PDF solution but not all end users have a PDF printer on their computer.  Adobe please help. 

Conditional Required Fields

$
0
0

Is it possible to have conditional required fields. As in if a certain box is selected, certain fields will become required. Take a look at this example if this needs clarification. In this example, the left 3 text boxes are required. If I check the middle checkbox, can I make it so the 3 text fields in the middle now become required as well. Furthermore, if I check off the 3rd check box (rightmost one), can I make all of the text boxes as required fields. Thanks!

 

example1.GIF

http post and Alfresco web script

$
0
0

Hi all,

 

I'm wondering how to send the content of an XFA form into an Alfresco ECM instance. So far, I've been using "email submit buttons" by mail, but I think submitting the xml content directly into an Alfresco space could be feasible without too much trouble.

I'm trying to adapt the online script fromLiveCycle documentation

http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=sdkHelp&file=001677.html

same in version 9 : http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001303.html

 

which are about the same docs as the ones on Alfresco wiki (http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload) although LiveCycle is only based on Alfresco AFAIK.

 

I don't want to use an HTML form, but directly send my form from my pdf xfa form. I made a small test using a fixed url on an HttpSubmitButton

http://localhost:8080/alfresco/s/upload?guest=true&fileName=liveCycleDocument&title=myTitl e&description=myDescription&content=myContent

 

On Alfresco, the document is created with the correct args values. But I still don't know how to send the real form content to the URL.


I checked on this document http://partners.adobe.com/public/developer/en/livecycle/lc_understanding_submit_tip.pdf where I discovered I can use a custom submit button to send the datasets, but still cannot get my form xml data.

 

I hope someone will have a clue about LiveCycle/Alfresco communication.

Thx

Best regards,

jgrd


Require signature field to be signed before submit

$
0
0

Hello,

I have created a form that gathers information and needs to require a Digital signature before it can be submitted.  I am using livecycle 8.2 and will use the Distribute tool to distribute and track and gather responses.  I have used the following script in the preSubmit event to make several required fields mandatory before they can click the adobe-created Submit button in the distributed form:

 

if(this.isNull) 
{
this.mandatory = "error";
xfa.host.messageBox("Enter information in the Name field."); 
}   
else
{
this.mandatory = "disabled";
}

 

I have been unable to require the Signature field with this same script.  I placed the script above in the preSubmit event for my Signature field however, if a user does not sign the document, and in turn then receives the message box and mandatory error, when they do sign the document they still continue to receive the message box and mandatory error.  It appears that a Signature field's rawValue is always null?  How do I make the form recognize when the Signature field is signed?

Your help is greatly appreciated,

Tilson

Rename a JavaScript Window

$
0
0

Does anyone know of a way to 'rename' a JavaScript window to something other than 'JavaScript' window ?

We have a forms that pop us a window with possible user names from an LDAP query. The clients were confused by the term "JavaScript Window".

If/then statement with hidden fields

$
0
0

I have a form with a drop-down field that has 3 possible values (Today, Tommorrow, Next Week). Below this drop-down field is text field (TextField10) that needs to be filled out by the user ONLY if "Next Week" is selected in the drop-down. I would like for TextField10 to be hidden unless "Next Week" is selected.

For TextField10, I have "this.presence="hidden" written into the initialize event so it is hidden when the user opens the form. This works.

 

For the drop-down field, I have:

 

if (this.rawValue == "Next Week") then TextField10.presence = "visible";

     endif

 

written into the exit event in FormCalc. I need this in FormCalc because I have many other scripts in the exit event already written in FormCalc and I don't want to have to change all of them. I have checked "Specify Item Values" in the Binding Tab of the drop-down field.

 

Would someone please tell me what I am doing wrong. TextField10 is hidden, but never appears no matter what I select in the drop-down field.

 

thank you for your help!

 

Gene-O

Js Script or FormCalc scripting is not appearing in Script editor

$
0
0

Hello Experts,

 

I am facing issue where upon when i write a Js Script or FormCalc script - it is disappearing when I save & activate the form.  The scripts are seen in the XML Source tab, but not in the script editor...as a result i am not able to modify anything, as they are displayed in the editor at all...

 

Find below the example...

 

1) Step 1 - I created the below testing script on click of a button and it was displayed and the moment I saved and activate it disappeared from the script editor...same thing happened many times...

data.#subform[0].ZggTestWsBtn::click - (FormCalc, client)

       xfa.host.messageBox ("Hello from FormCalc");

 

2) But when i go to the XML source, i am able to see all the scripts and the previous ones as well...

 

    </script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript" runAt="both">

  ///test ///test

</script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript">

  app.alert("test");

</script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript">

//test

</script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript">

xfa.host.messageBox("Hello Button Clicked");

</script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript">

xfa.host.messageBox("Hello Pressed the button ");

</script>

            </event>

            <event activity="click" name="event__click">

               <script>

xfa.host.messageBox ("Hello from FormCalc");

</script

 

Can you please help me to find out the issue? this is making development a pain as we are not able to edit any existing script or create new ones... Please help...

 

We are using AdobeLiveCycle designer 9.8 version. Thanks

 

Ganu

Hide the drop down list arrow once the field is filled

$
0
0

I am creating a form that ultimately becomes a published page of directions. After the user selects an item in the drop down list, is there a way to make the arrow hidden. It would need to be redisplayed if the user click in the field again.

 

Thanks,

MDawn

How to bold a one word in a textfield

$
0
0
I would like to bold a few randomn words in a sentence used as a rawvalue in a textfield.

e.g. "Thisword should be bold"

Does someone know how to acheive the above through scripting

Thank you in advance

Aditya

Question regarding the SUM of numeric fields

$
0
0

Hey all,

 

Hopefully I have posted this in the appropriate forum (this could probably go into the JS forum as well and if so, my apologies.)

 

My question:

I have a monthly mileage log that has a field where the user will enter the the beginning vehicle odometer reading (this is a MANDATORY FIELD) at the beginning of the month OR when the vehicle is first used.

 

I then have 31 fields underneath corresponding to the days in a month with each field containing the ENDING odometer reading for that day. If the vehicle wasn't used on a particular day, that day's field would be blank. At the very bottom would be a "total miles" field. As a example, the data would be like this:

 

Beginning Mileage:     111,111

1st                            111,200

2nd                           111,300

3rd                           

4th                            112,000

5th                            112,300

6th

7th                            113,000

...

...

...

31st                          114,100

TOTAL MILEAGE        2,989

 

"Total mileage" = "Beginning Mileage" MINUS "the odometer reading of the 31st day AKA the LAST ENTRY FOR THAT MONTH"

 

Therein lies my issue. How can I make the "total mileage" field be dynamic? Let's say the vehicle was only used from the 5th through the 10th, how can I have the "total mileage" field display the correct odometer reading?

 

Hopefully, I explained this well enough for someone to help me and all help will be greatly appreciated.


Email submit does not launch Outlook which is set as default client

$
0
0

I designed a form in Adobe LiveCycle and added an Email Submit Button.  When I saved the finished form as a PDF and clicked the Email Submit button to test the form (after filling it) it returned an error as follows: "Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client".  My default email client is Microsoft Outlook 2010.  Meanwhile when i click on other mail to links elsewhere, even on a webpage, Outlooks launches automatically.  Any help??

Interactive Dialogue Box

$
0
0

Hi,

 

     Is it possible to develope an interactive dialogue box in livecycle designer from whci we can select values? e.g. for a particular text field, if I enter 2 alphabets and click a search button, then it should display the resulting options in a small pop-up window from which any one value can be slected and that selected value appears in that text field.

 

     Please let me know if this is feasible in Livecycle Designer ES.

 

Regards,

Nakul

Don't ask for save when close the file.

$
0
0

Maybe you all meet a situation that, if you edit the pdf form with adobe reader or acrobat and close it, it will jump out a window and ask "do you want to save the change before closing?".

Does anybody know how to cancle this asking? Because users can't save the file directly and I added a function to export to xml file, it dosen't need to save anymore.

Could you share me how to advoid asking for save when close the pdf form?

 

Thank you all!!!

Ellie

Upload / Attach File in form

$
0
0
I'm new to the LiveCycle Designer, so please bare with me.

I need to design a form that will allow a user to link/attach files. When the user submits the form we would like the form to link to the documents like a hyperlink.

Please help the newbie.

Changing Global Variables using Javascript

$
0
0

Hi,

 

I have a project where I need to have lots of signature fields on a single form. I don't want to use a signatureField because this will increase the file size every time a signatureField is signed. Also client does not want digital signatures.

 

I set up three user variables (for both usernames and passwords), using Form/Properties/Variables.

 

I then set up a dialogue box on the click event of a button, which requests the username and password. If these match the global variables, then the associated textField is populated with the user's credentials. I got this to work OK.

 

The problems stated when I gave the user the ability to change their password. This would be an important, as the form would not need to come back to me to hardwire in the new password.

 

One of the global variables is "Pass1".The following script changed the value of the variable, but would not hold the change when the form was reopened:

 

     Pass1.value = AHSC02.strnewP;

 

".value" shouldn't work, but it did???

 

So I tried different versions of ".rawValue", but with no sucess:

 

     Pass1.rawValue = AHSC02.strnewP;

     form1.Pass1.rawValue = AHSC02.strnewP;

     form1.variables.Pass1.rawValue = AHSC02.strnewP;

 

Using ".rawValue" wouldn't change the password variable at all, even in the same session.

 

28-06-2009 16-02-14.png

 

I would be very grateful if anyone had an idea as to how to change the global variable using Javascript, which will hold when the file is saved and reopened.

 

".value" works within the session, but doesn't hold the value on reopenning.

 

I am attaching a sample form, with three signing buttons/fields.

 

Username1 = Niall O'Donovan     Password = nod

Username2 = Marianne Barry     Password = mb

 

I have initially set up the "Niall O'Donovan" account with .rawValue and the "Marianne Barry" account with .value scripting.

 

I am wondering if this is considered a security issue by Adobe and therefore we are restricted from changing global variables using Javascript???

 

Thanks,

 

Niall

Viewing all 16286 articles
Browse latest View live


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