Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

SreeHarshavardh
Community profile SreeHarshavardh Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 09-11-2009 11:00:34 PM
Offline
Top badges earned by SreeHarshavardh
Customize the badges you want to showcase on your profile
Re: Script Help - CONDITIONAL -
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Dear AK,Thanks!As you said, I have my code with in the Exit event of the TextField itself and even I tried to use the newText property of the TextField but no luck!!!Any other thoughts?Regards.

Views

411

Likes

0

Replies

0
Re: Script Help - CONDITIONAL -
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Hi All,I have an small issue with respect to reading XML Datasource node. Initially I had done the same thing using the Dropdown list box change event by using the below code:-------var stateDataNode = $record.resolveNode("StatesAndCities.SAPDetails.(SAPCode.value == " + this.boundItem(xfa.event.change) + ")");-------Now I have requirement as the selecting the nodes from same XML Datasource based on the value entered in the TextField. So, I am using the below code in the 'Exit' event of the Text...

Views

411

Likes

0

Replies

2
Reading the PDF Forms which has the Data connection using iTextSharp
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Dear All,I have a question with respect to the reading the PDF Templates which has the XML Dataconnection in it.I am using ASP.Net application to read the PDFForm by using the iTextSharp. I am able to read PDF Form with this tool, but I am not able read the PDF Form which has XML File as Dataconnection.iTextSharp is reading all the fields in the PDF Form as XML elements, if the PDF Form contains XML as Datasource, the it's ignoring the fields and taking the XML datasource as the XML Element and ...

Views

469

Likes

0

Replies

0
Re: How to compare Date in the TextField or DateTime with Date/Time field?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Hi Bruce,Sorry for delayied reply.I saw your example, it's working fine. but here i have question In you example, you have set the date in the format of YYYY-MM-DD as with default value in the bind tab. In my case, at run time I am assigning the date value in text box. Do you prefer to format date before in the format of YYYY-MM-DD and assign or need to format at runtime.How do I format the dates at runtime which we requied?Regards.

Views

608

Likes

0

Replies

0
Re: How to compare Date in the TextField or DateTime with Date/Time field?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Dear Bruce,Thanks Bruce, I'll check and let you know.Regards.

Views

607

Likes

0

Replies

0
Re: How to compare Date in the TextField or DateTime with Date/Time field?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Hi,Yes, I am able to display the date which I have assigned to the text box. In the message box it show the value as '31/05/2009', since in this format i am assigining the date in the text box.Here is the code which I am assigning the value:--------RegistrationDetails.PurchaseEntry.txtRegDate.rawValue = regDataNode.CREATION_DATE.value;---------Do I need to change the format while assigning value in text box?You have told that, you have attached your test form, nothing is the reply. Can you repos...

Views

606

Likes

0

Replies

0
Re: How to compare Date in the TextField or DateTime with Date/Time field?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Hi Bruce,I tried the given code... but no luck in that.. Even I tired to display the result in the Messagebox but is show the result as 0.See the code below:xfa.host.messageBox(Date2Num(RegistrationDetails.PurchaseEntry.txtRegDate.rawValue,"YYYY-MM-DD"))it returs ' 0 '.Any other later native solution?Regards.

Views

608

Likes

0

Replies

0
Re: How to compare Date in the TextField or DateTime with Date/Time field?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Hi,thanks for reply.Here is the code which I am using...-----------if($.rawValue < Num2Date(RegistrationDetails.PurchaseEntry.txtRegDate.rawValue,"YYYY-MM-DD")) then xfa.host.messageBox("Please enter date greater than Registered Date field value.")endif-----------I am validing the above condition in the FormCalc script in the DateTime fields Exit event.Hope this helps you to look into the issue.Regards.

Views

606

Likes

0

Replies

0
How to compare Date in the TextField or DateTime with Date/Time field?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Hi All,I am facing an issue with respect Date comparinson. I tried to look into entire discussions but failed to get the answer.My issue is: I wanted to comparet Date/time field value with Date value which is in TextField.The functionality of my form is:I have dropdown list which lists the registered customer ids binded to XML Datasource. On selection of the customer id from the dropdown I am displaying customer registration date in the TextField or say Date/Time field as below code in dropdown ...

Views

3.2K

Likes

0

Replies

9
Re: How to filter XML Datasource bound to Dropdown list?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Dear Bruce,Actually I did the same, even then it did not show up the State. But I'll try the same once again.Regards,Sree Harshavardhana.

Views

644

Likes

0

Replies

0
Re: How to filter XML Datasource bound to Dropdown list?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Dear BR,As I have mentioned in the above reply, I tried your example with my form it's really working great!But, the problem is, in the State dropdown list it's not showing the selected State name. How do I do that?Regards,Sree Harshavardhana.

Views

428

Likes

0

Replies

0
Re: How to filter XML Datasource bound to Dropdown list?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Dear BR,Thanks for the quick reply and most useful example. I'll try to apply the same in to my form and look in to it.But, I would like to know is what was the corrections you have made in the javascript. I am not wrong the code which you have written in the example pdf the same I had written, but it did not work for me! Please check the code below which I had written.--------------------- StatesAndCities.#subform[0].StateName::change - (JavaScript, client)var stateDataNode = xfa.resolveNode("S...

Views

419

Likes

0

Replies

0
How to filter XML Datasource bound to Dropdown list?
Avatar
Validate 1
Level 1
SreeHarshavardh
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
SreeHarshavardh
- Adobe LiveCycle
Dear All,I quiet new to LiveCycle designer ES from past couple of weeks I am working on this.Right Now I have issue with filering XML Datasource bound with dropdown list.I have XML file which has the data to the States and City. I have bound one of my dropdown list to State. My requirement is once I select the 'State' the corresponding City Names has to be listed in the second dropdown list.I searched in the net and got couple of samples on that. But I failed to make my form work as requirement....

Views

2.6K

Likes

0

Replies

5