Message 1 of 7
Not applicable
12-08-2014
03:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a workspace that captures travel requests. Based on the type of travel (Domestic/International), I want the values in some fields to vary. So, for example, if the type of travel is domestic, I want the value for Flight to be 600$, for example. If international, the same field should dislay 2000$. I used a code as below, but I am getting an error. Please help!
if type_of_travel == 'Domestic'
est_flight_cost=600;
else
est_flight_cost=2000;
Solved! Go to Solution.