Expand my Community achievements bar.

need javascript...

Avatar

Level 3

Hi ,

I am new to this  adobe designer. I need a date function which is having a regular expression  to check the format of date as mm/dd/yyyy.

And

I need a  function to return  a  10 th page document to 1st page on click of a button ?

Thanks in advance

Thanks

bharathi.

7 Replies

Avatar

Level 3

Hi radzmar,

Thanks radzmar.It was help ful.

can u please see my second question  also?

Thanks,

bharathi

Avatar

Level 9

Hi Bharathi,

What do you mean by returning 10th Page document to first page? Are you going to replace 1st page by 10th page or something else?

Thanks,

Bibhu.

Avatar

Level 10

I don't understand your second question. Please describe in other words.

Avatar

Level 3

Hi ,

I am having 10 pages in a pdf.Suppose  i am in a 6th page of  the pdf if i click on button it should go to first page of the pdf.

am i  clear....

Thanks in advance.

Thanks

bharathi

Avatar

Level 9

Bharathi,

In the click event of the button put the script - xfa.host.currentPage = 0;

Thanks,

Bibhu.

 

Avatar

Level 3

Hi Bibhu,

i checked it is working.

Thanks bibhu..