Update forms to reflect change from URL to ID.
Move calendar url to own function.