Setting default values by URL

The widget will accept a url to load default values. This would be very useful in a portal environment where the user is known and his/her calculator values are defined. The calculator will load the model from the url via AJAX. We use JSONP with a callback method.

Example - model from url

Indiana work location, gross pay of $77,000 and one custom deduction

<script async src="" 

Following file hosted at

    "model": {


Important note:

The widget will still load if an invalid url or bad JSON is passed to it.

Jump to top