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.

  • 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. – Jamie Thomas Mar 25 '15 at 13:20
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.

  • It is not working! It should be simple... – user89706 Mar 24 '15 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. – Jamie Thomas Mar 25 '15 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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