Skip to content

Instantly share code, notes, and snippets.

@perryqh
Last active January 6, 2017 20:08
Show Gist options
  • Save perryqh/acbdc5f50c61a1ab5e8214d2fe716541 to your computer and use it in GitHub Desktop.
Save perryqh/acbdc5f50c61a1ab5e8214d2fe716541 to your computer and use it in GitHub Desktop.
shorter corelogic hidden form
{
id: 1092547,
name: "CoreLogic Apply",
url: "/api/v1/locations/g5-cl-i6453t99-advantage-self-storage-jefferson-avenue/html_forms/short_apply",
external_id: "online_application_short_corelogic",
action_type: "online_application_short_corelogic",
auto_submit: true,
is_external: false,
redirect_url: null,
show_raw_form: true
}
<form action="{{set-in-dashboard}}" method="post" target="_blank" class="cta">
<input type="hidden" name="unitNumber" data-swap-value="apartment.name" />
<input type="hidden" name="leaseTerm" value="{{lease-term-set-in-dashboard}}" />
<input type="hidden" name="moveInDate" data-swap-value="moveInDate" />
<input type="hidden" name="buildingId" data-swap-value="apartment.building" />
<input type="submit" class="floorplan-card-cta no-cta" data-swap-value="cta.name">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment