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

Clearing Address Info based on button value


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

Recommended Posts

  • Newbies
Posted

I have set up a button (N=1 & Y=2) that a user will check if the "Billing Address" is different than the "Contact Address". Right now the button is in place but isn't linked to any type of functionality. That is where you all can help me.

As the default, I would like the "Billing Address" fields to mirror the "Contact Address" and the button to be set to "N" - then based on the user actively selecting the button to "Y", the address fields would clear for the user to enter the new information. Any/all suggestions are welcome. I appreciate your help in advance. Thanks!

Posted

Hi,

probably the best thing to do is place an invisible button on top of the Y/N radio field (lets call it fieldx).

Then script this to do:

If (fieldx="N")

Set field [fieldx, "Y"]

Set field [billing Address, ""]

Else

Set field [fieldx, "N"]

Set field [billing Address, Contact Address]

End If

HTH

This topic is 8231 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.