Print Page | Close Window

Number form date

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: [Commercial] Adobe LiveCycle Designer Forms
Forum Description: Discussions relating to Adobe LiveCycle Designer and XFA forms.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=1298
Printed Date: 23 May 2019 at 8:25pm
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: Number form date
Posted By: Sebastjan
Subject: Number form date
Date Posted: 01 Oct 2014 at 6:32pm
Hi
 I have two fields, one contains date and second i need number generated from date. Using Action builder gives me result same like in date field but i need format second field to "ddmmyyy" not "dd.mm.yyyy"



Replies:
Posted By: gkaiseril
Date Posted: 02 Oct 2014 at 4:16pm
Are you using any JavaScript?
 
You can "force" the formatting by using the util.printd method and setting the field format to "None".


Posted By: Sebastjan
Date Posted: 02 Oct 2014 at 4:23pm
Thanks for answer
I am noob in LiveCycle, using "Action Builder", there isnt option like format etc


Posted By: gkaiseril
Date Posted: 02 Oct 2014 at 6:00pm
Are you sure there is no format options for the field object in LiveCycle?
In my copy there options for edit, display, and entry.
 
With LiveCycle there is an option for formatting when converting the day number to a character string using the Num2Date function.
 
There are 2 Adobe products for creating forms, Acrobat an LiveCycle. Sometimes it is helpful to know which product is being used.
 
Also some features require using the non-automatic tools and just doing things the basic tools.


Posted By: Sebastjan
Date Posted: 02 Oct 2014 at 6:57pm
using LiveCycle Desinger ES4
In Patterns there is no difference what i choose, format the tekstfield no change


Posted By: gkaiseril
Date Posted: 02 Oct 2014 at 7:03pm
Have you tried to add a new format?


Posted By: Sebastjan
Date Posted: 02 Oct 2014 at 7:08pm
how?


Posted By: Sebastjan
Date Posted: 02 Oct 2014 at 7:13pm
Using action When date field is changed, set value of textfield to thw value of datetimefield



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net