Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Operation on radio buton selection


This topic is 5746 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi,

I am a Biology major with zero programming experience. I've just started using File maker and I'm creating a database for an online store in which, I have provided my customers the opportunity to pay via credit card.

In my database, I have two sets of addresses: 1)Billing address 2) Shipping address.

I've put in a radio button to check whether both addresses are the same.

If the radio button option selected is Yes, I would like the address details entered in the billing section to automatically copy themselves to the shipping address fields.

If the radio button option selected is "No" I would like my representative to be able to enter text into the shipping address fields manually.

I've tried setting the shipping address field type to calculate but that doesn't allow me to manually enter data if my option is "no".

what should the radio button type be?

Could anybody propose an easy way for me to do this??(A sample code would be really helpful)

Thanks

Andy

Posted

You will want to use a text field with the Auto-Enter option of 'calculated value' for shipping. (Not calculation field)

Case ( radiobutton = "Yes"; billingaddress; "")

Make sure that 'Do not replace' is unchecked.

  • 4 weeks later...
  • Newbies
Posted

You can use Case( ) but the Condition isn't very complicated.

IF the field "USE BILLING ADDRESS FOR SHIPPING" - YES

Then go through a series of Set Field(Shipping Address to = Billing Address)

Do that for each of the fields you want to copy billing information into shipping fields

I hope that helps you.

This topic is 5746 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.