0

I am building a Booking Form for my tours. So for the Lead Passenger I created a field named TRIP CODE. I want that code to be duplicated in the additional passenger field without having to type it again.

So I created the same field in the additional passenger section and wrote the formula =TripCode in this new text field. But it is not working.

I just realized that when working in this ADDITIONAL PASSERGERS section (which is a repeating section) fields formulas work with the fields created only in this section but not in the ones created outside this section.

1
  • Yes, this is a current limitation for calculations, that they are limited to fields within the current section or sub-sections. We are planning to address this in our next release. Commented Mar 25, 2015 at 13:20

1 Answer 1

1

You can enter calculations for the Default Value of a field in Cognito Forms to be the value of another field. This will copy the data from the other field when it changes, but still allow the user to make changes.

For example, if your first field is named Field 1, then the Default Value of Field 2 should be =Field1.

2
  • It is not working! It should be simple...
    – user89706
    Commented Mar 24, 2015 at 21:42
  • Yes, calculations can be quite simple, but when you are dealing with a hierarchical form with sections and repeating sections is will become a bit more complex. Commented Mar 25, 2015 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.