Link & Calculate

If you know all input parameters of a calculator, you can add a button which takes the user directly to the calculation result.


<form method="post" action="">
  <input type="hidden" name="flight_calculator[from]"          value="ZRH">
  <input type="hidden" name="flight_calculator[via]"           value="FRA">
  <input type="hidden" name="flight_calculator[to]"            value="LAX">
  <input type="hidden" name="flight_calculator[roundtrip]"     value="true">
  <input type="hidden" name="flight_calculator[passengers]"    value="2">
  <input type="hidden" name="flight_calculator[flight_class]"  value="economy">
  <button type="submit">Diesen Flug bei myclimate kompensieren</button>