Jump to content

How to get TextField value?


henrydwa

Recommended Posts

Hi..

I create one TextField, and i fill with "TEST", let say the element key is TextFieldTest

 

How to get value of TextFieldTest without set it to variables?

 

So i want to create another TextField with expression 

${TextFieldTest} == "TEST" ? "True" : "False"

 

Please help me, thankyou so much :)

 

Dwa

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Sorry for my english, karma for you...,
I mean, if i have 2 textfield, let say
1. textfield key=currentpage
$V{PAGE_NUMBER} -> with Eval Time = NOW
2. textfield key=totalpage
$V{PAGE_NUMBER} -> with Eval Time = REPORT

so, if i have 4 pages, and current page is page 2,
so i can know that current page is not last page.
i can use this function :
$X{currentpage}==$X{totalpage} ? "This is last page" : "continue...."

Maybe i can use in Last Page Band, but this textfield must show in the content area.

Please help me. Thankyou so much
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...