Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Returning partial text from

$
0
0

Hello,

I have a short script that populates a box with the content of a few fields in a form that they will then use a file name that they can just paste when they click a Submit button.

So here's the script:

 

FileNameForSave.rawValue = xfa.event.newText + " " + EventName.rawValue + " " + CityEvent.rawValue + " " + StateEvent.rawValue ;

 

The xfa.event.newText captures a Date field with slashes in YYYY/MM/DD format, but I don't want it to return the slashes.  Is it possible just to grab the numeric part by getting the YYYY first, then the MM, then the DD?

Thanks for any help.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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