How I can set a field value to be added automatically based on the value of three other fields, one of which is the autoincrement field (field1 = 2, field2 = 5 and field3 = 1 then myfield value = 251, all types of these fields are an integer
You may simply use jQuery code to combine all those 3 fields into one value, and put it in “Startup Script” of “Add Page” and/or “Edit Page”. Just Google “jquery combine three input values” for more info and examples.
Thanks for reply,my fields are:
region=int, city=int, no=int (autoincrement), officeid=int
what i want is to set officeid= concatenate(region, city, no)
I had tied to use the following cod but it is not working!!code:
You need to trigger based on keydown or change event of the textbox control. Google is your friend.