Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

How to add values of two textfields and assignthe result it to another field?

PagesOfJoy
Level 3
Level 3

I have designed a form in which consists of several fields.Now i will enter values in two textfields and the result value should be displayed in another field which is read only.Can you please tell me how to do this?

3 Replies
pguerett
Level 10
Level 10

On teh calculate event of the readOnly field you woudl use the command:

this.rawValue = Field1Name.rawValue + Field2Name.rawValue

Paul

PagesOfJoy
Level 3
Level 3

Paul if i want to concatenate two strings or alpha numeric characters from 2 fields and display in the third field,Will this code be able to do that?