How to combine "calculate" and "hidden" scripts for result from dynamic dropdown
Back again! Searched and read many an article/post on here but found nothing for what I am looking to do. If I happened to miss it, I apologize.
Origination dropdown results in a second dropdown, which ultimately results in a series of fillable texts (see image).

For hotel name, nights, city tax, county tax, state tax, and parking I used the following script to cause them to be hidden when the dropdown options have changed:
event.target.display = (this.getField("lodginglocationdropdown13").value == "CONUS" && this.getField("lodgingdropdown14").value == "Hotel")?display.visible:display.hidden;
This works wonderfully; however, the final box, "Total," needs to be calculated AND hidden.
The calculation is as follows: (nightlyrate*numbernightsstayed)+(hotelcitytax*numbernightsstayed)+(hotelcountytax*numbernightsstayed)+(hotelstatetax*numbernightsstayed)+(hotelparkingtotal)
I have attempted to place the math portion in the calculation tab (simplified and custom) while putting the hide script in the validate tab, and vice versa for giggles, but no dice. The "Total" item won't disappear:

How can I combine these two scripts to be able to calculate AND hide the text box when either of the two dropdown selections are changed?
TIA! 😃
