since ‎06-01-2006
Apr 16, 2021
radzmar
MVP
Re: START DATE should not lower than CURRENT/TODAYS DATE?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
dohanlon is right, the pattern is the important factor.There are manifold ways to display a date like todays date. 14.03.2012, 03/14/2012, 14-3-12, 14 Mar 2012 etc... .The FormCalc script I used before tries to convert the displayed date of your start date field into a number.Date2Num($.formattedValue, "MM/DD/YYYY") will return the value 40981 for taday's date, but only if the date is entered in the format "MM/DD/YYYY" (means 03/14/2012).It can become very nasty to explain users how to enter the...

Views

352

Like

1

Replies

0
Re: START DATE should not lower than CURRENT/TODAYS DATE?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
To determine if the start date is lower than the current date you can eiter use FormCalc or JavaScript.FormCalc already has several date/time functions which make it easier to handle.This is a sample for the exit Event of your date field.It checks if the field has a value, and if the date is before today's date.If so, it will show a message and clear the field.

Views

347

Like

1

Replies

0
Re: Do not allow user to enter non-number characters
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
You can use a small script with a regular expression in the change Event of yout textfield, to check the current input and remove everyting that is not a digit.

Views

349

Likes

0

Replies

0
Re: Smileys in a radio button
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
You cannot place images into a radio button group.But you can place image fields beside the group and remove the captions of the radio buttons.

Views

395

Likes

0

Replies

0
Re: Display pattern issue..
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Hi,detailed information about the picture clauses can be found in the XFA spec.As the percentage picture clause works different than expected, I use the workaround with the quotation marks in the pattern.http://partners.adobe.com/public/developer/en/xml/xfa_spec_3_3.pdfPage 1180 > Effect of the % Picture Symbol

Views

370

Likes

0

Replies

0
Re: Display pattern issue..
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
I always use

Views

370

Likes

0

Replies

0
Re: Smileys in a radio button
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Use a dingbat font such as Windings.

Views

420

Likes

0

Replies

0
Re: Getting error when adding or removing instance of a table row
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Hmm ok, the Action Builder script is very overloaded, not sure what causes the error.My suggestion:1. Remove all actions you created with the action builder2. For the Add button use this JavaScript in the click event 3.For the Remove button this JavaScript (will remove always the last instance of the row)

Views

532

Likes

0

Replies

0
Re: How to Use INR (Indian Rupee) Character in Adobe Livecycle?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
This only means that there is no description for this sign in the font, not that it doesn't exist.Anyway, what happens, when you open your form in Reader/Acrobat?Does it display also the square instead of the rupee sign?Try my sample form too.If it also doesn't show the sign, you may have to check your OS.https://acrobat.com/#d=L5ziA5Y6wM8HnmPHG49ZfQ

Views

4.7K

Likes

0

Replies

0
Re: How to Use INR (Indian Rupee) Character in Adobe Livecycle?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
The question is what Unicode position the rupee sign is allocated in the specific font.Check the char map of windows of locate the character and the copy it into Designer.

Views

4.7K

Likes

0

Replies

0
Re: How to Use INR (Indian Rupee) Character in Adobe Livecycle?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Hmm, I don't have that problem in Designer ES2 and was able to paste the rupee sign from the char map into the dropdown.Make sure then font you use in Designer supports the rupee sign.

Views

4.7K

Likes

0

Replies

0
Re: How to Use INR (Indian Rupee) Character in Adobe Livecycle?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
The question is where you wanna use the character.In dialogs you can use the unicode sequence \u20b9 to show the new rupee sign.xfa.host.messageBox("123 \u20b9");In texts and fields it depends on the selected font if the sign is available or not.I found several articles that stated to hold down ALT and enter 0096.http://en.wikipedia.org/wiki/Indian_rupee_signhttp://www.newsbeats.in/news/indian-rupee-symbol-on-keyboard/

Views

4.7K

Likes

0

Replies

0
Re: Getting error when adding or removing instance of a table row
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Hi,Where are the buttons located relative to the repeatable row?What does the script looks like you use?If possible share your form on Acrobat.com or any other file hoster.It will be easier for us to analyse your problem.

Views

573

Likes

0

Replies

0
Re: How to select from drop-down menu connected to SQL database and then autofill?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
The 101 of database connections from LiveCycle Designer can be found in Stefan Camerons blog.This is the right place to start. http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an-odbc-data-connection/

Views

431

Like

1

Replies

0
Re: seeking a Current Age calculation based upon b'day
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
You can use FormCalc in the exit event of ono of your date fields to populate a numeric field with difference in years between both dates.NumericField1.rawValue = Num2Date(Abs(Date2Num(Birthday.formattedValue, "M-D-YYYY") - Date2Num(FutureDate.formattedValue, "M-D-YYYY")), "Y")

Views

525

Likes

0

Replies

0
Re: Lock / Freeze Current Date after saving
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Hi,wrap you code into an if expression at the initialize event.The date then will only be populated, if the field is empty.if ($.isNull) then $ = Num2Date(date(), DateFmt(1))endif

Views

570

Like

1

Replies

0
Re: Display Positive Symbol
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Ok,try it this way:

Views

457

Like

1

Replies

0
Re: Expand/Collapse Text Fields
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Hi,this is indeed possible with Designer, when you create dynamic forms (XFA forms).Here's a sample form, with a text field you can expand/collaps with a button.https://acrobat.com/#d=uluWF9NaAmvOe45rYXQmEQ

Views

443

Likes

0

Replies

0
Re: Display Positive Symbol
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Sorry, missed the fact it's calculated.Try this in the calculate event.

Views

445

Likes

0

Replies

0
Re: How do you setup a numeric field to display dates
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
You can/should use a date field instead a numeric field.Set it access to protected by default and enter this FormCalc script into the preSubmit event of the field.

Views

795

Likes

0

Replies

0
Re: Display Positive Symbol
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
You can use a script in the change event to switch between display patterns.

Views

463

Likes

0

Replies

0
Re: Using event.target.submitForm to submit a PDF and XML attachment in a single email.
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
As far as I know you can only attach one attachment at once.

Views

441

Likes

0

Replies

0
Re: Check box only visible when data is entered in two other fields
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
The initialize event only fires once the form is opend, not afterwards when the fields values are changed.You need another event such as layoutReady.this.presence = !Quantity.isNull && !UnitPrice.isNull ? "visible" : "hidden";

Views

444

Likes

0

Replies

0
Re: Formating time input fields
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
How does your calculation script look like?

Views

426

Likes

0

Replies

0
Re: Accessibility in LC Designer.
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
John Brinkman designed a Accessibilty Checker for XFA forms.http://blogs.adobe.com/formfeed/2010/03/an_accessibility_checker_for_p.html

Views

475

Like

1

Replies

0
Re: Is there a way to disable reader rights after time or use, or only enable it for certain people?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
I was seeking for a solution too in the past, but Adobe found that there it wouldn't make sense to remove such rights later.So there is not way to remove the rights except printing the form as a pdf file.

Views

393

Likes

0

Replies

0
Re: Creating ability to replace image in PDF through Reader, is it possible?
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
With Designer you can add an image field.This field is also supported by Reader.Users simply have to click onto the field to open a file browser where they can select an image file, which then is importetd into the image field.You can set up the image field to fit the imported images to the image field area.

Views

416

Likes

0

Replies

0
Re: Increase size of Calendar
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
You cannot change the look and feel of the calendar widget as it is controlled by the operating system.

Views

452

Likes

0

Replies

0
Re: LiveCycle Form does not render correctly in Acrobat X
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Can you share the form or at least a screen shot of the result?

Views

480

Like

1

Replies

0
Re: Button script to open attachment pane and attach document
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
The script to open the Attachement pane is:

Views

505

Likes

0

Replies

0