Skip to main content
Participant
April 6, 2017
Answered

Can i create a new field that copies the data from a drop down field - dependant on a check box button?

  • April 6, 2017
  • 2 replies
  • 460 views

I have a field "Representatives" that has 10 names in drop down - - i want the name chosen on one form to copy onto another form - IF a check box button is checked off

is this possible ?

Thanks!

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer try67

Sure. Use this code as the custom calculation script of the target field (adjust the name of the check-box field, of course):

event.value = (this.getField("Checkbox1").value=="Off") ? "" : this.getField("Representatives").value;

2 replies

Participant
April 6, 2017

thank you !  success !!

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 6, 2017

Sure. Use this code as the custom calculation script of the target field (adjust the name of the check-box field, of course):

event.value = (this.getField("Checkbox1").value=="Off") ? "" : this.getField("Representatives").value;