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

Livecycle ES2 - Blank Multi-lined Text Field Deleting Customer Input Data

$
0
0

Hello,

 

I am using a Java Script to add multiple lines to a blank text field.  If the customer types in the field the text replaces the lines.  If the customer just prints the form, them the lines remain.  The problem I am having is if the customer types in the field and then needs to go back and alter the text, the moment they tab or click on the text field in the for the text disappears.

 

I did not write this code, and I do not know how to get back in touch with the person that did.

 

DRF1.subform.Field_Name::initialize - (JavaScript, client)

this.rawValue = "\n________________________________\n\n________________________________\n\n______________ __________________\n\n________________________________\n";

 

 

DRF1.subform.Field_Name::enter - (JavaScript, client)

this.rawValue = null;

 

 

DRF1.subform.Field_Name::exit - (JavaScript, client)

if(this.rawValue == null)

 

{

 

this.rawValue = "\n________________________________\n\n________________________________\n\n______________ __________________\n\n________________________________\n";

 

 

}else{}

 

I am assuming I need to alter the "enter" value, but I am unsure as to how to alter it.  Your help is greatly appreciated!  I am no programer.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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