Skip to main content
Inspiring
November 10, 2018
Question

how to keep words and write after them on text fields?

  • November 10, 2018
  • 3 replies
  • 1659 views

hello i have a text1 field with user add a address words there e.g.:

Text1---> Gotham 26 & Hilton 33,

on text2 andtext3 i have a script to count some words

e.g.count1

e.g.count2

how to put counts right of text1 address? with out copy again and again the address only change counts...

i try this but not work:

var T0 = this.getField("Text1").value

this.getField("Text1").value=T0+", check("+count1+") "+count2+" with name :"

This topic has been closed for replies.

3 replies

hackertomAuthor
Inspiring
November 10, 2018

When one of each fields is changed then

keep address on text1 and change right of them the values

myRegExpadtellcheck variable is a regular expressions when is true run the counters and put is to text 1 field

try67
Community Expert
Community Expert
November 10, 2018

So each time the value changes you want to make the text in Text1 longer and longer?

try67
Community Expert
Community Expert
November 10, 2018

Also, what's the point of the counters?

hackertomAuthor
Inspiring
November 10, 2018

what do you mean? Adobe DC PDF file?

try67
Community Expert
Community Expert
November 10, 2018

Under what event?

hackertomAuthor
Inspiring
November 10, 2018

what do you mean try67? i want this on Text1:

Gotham 26 & Hilton 33 check(01) 01 with name :

if count change then Text1:

Gotham 26 & Hilton 33 check(02) 02 with name :

if count change then Text1:

Gotham 26 & Hilton 33 check(03) 03 with name :

Bernd Alheit
Community Expert
Community Expert
November 10, 2018

Where do you use this code?