Help - Conditional Show/Hide - or - Better Yet - Conditional Calculation based on Drop-down Selection
I am trying to figure out how to toggle a field called "Airfare" as hidden or shown, depending on the text entered in another field called "Trip". The value of the "Trip" field is determined by a selection made in a drop-down field called "Visit". If the value of "Trip" is blank, I need "Airfare" hidden - that field is a calculated field based on data entered elsewhere. Better yet, would be for the "Airfare" field to only calculate if the value of "Trip" is not blank and if "Trip" is blank - don't calculate. Also, if the person changes the entry in "Trip" I need the hide/show to toggle back and forth between show or hidden depending on the entry. Or in the case of somebody being able to offer the conditional formula code I would need it to be able to switch back and forth between calculate and don't calculate - again based on "Trip" field entry in case the person changes the "Trip" field. In other words, people often change their minds and I need the "Airfare" field to account for those changes and function properly or calculate properly. I'm somewhat of a novice in Javascript language - I know just enough to be somewhat dangerous. So anyone who has a solution for me, I will need other details such as where to put the script - does it go in custom calculation, validation, custom keystroke or elsewhere? Also which one of the three fields does it belong in - the "Visit" drop-down field, the "Trip" field or the "Airfare Field". Hope this makes sense. Any assistance would be appreciated. Thanks.
