Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 82585

How do I increment a NumericField value on a newly created sheet?

$
0
0

I'm fairly new to javascript so please forgive me if this is considered basic.  I have made a button in LiveCycle Designer that duplicates the current page which contains a Numeric Field called "Image1Text".  I want to increment the field value on the newly created page.  I've tried many different things but all I can get it to do is increment the value on the original page instead.  Any suggestions?

 

Code for my button:

 

parent.instanceManager.addInstance(parent.index);

xfa.host.pageDown();

this.Image1Text.rawValue = parseInt(Image1Text.rawValue) + 1;


Viewing all articles
Browse latest Browse all 82585

Trending Articles



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