Code examples related to Logic
-
Select deliverable addresses only - Rather than applying a "deliverable" filter, instead allow all addresses to be searched. Then confirm that the selected address can be delivered to by confirming the presence of a DPID attribute. If not deliverable, display an inline message to the user explaining why there is a problem.#DPID #Logic #Restrict
-
Restriction by Geofence - The code produces a pop-up which notifies the user whether or not they are in the designated location. The location boundary is defined using a polygon.#GPS #Geofence #Logic #Metadata
-
Form without address line 2 - The example shows the basic use case of the AddressFinder widget but on a form that has fewer address fields. This form only has one "address line" so the widget has been modified to combine the 'Address_Line_1' and 'Address_Line_2' elements when populating the content into the appropriate field.#DOM #Logic #Split Fields #Street
-
Display alert is address may have stairs - It checks the addresses metadata for unit type and level type. If the address contains a unit or level an alert will ask to confirm whether there are stairs at the property.#Logic #Metadata
Other code examples
Australia Post Common Plugin Custom DOM DPID Email Empty Content Error Message Events GNAF GPS Geofence Hubspot International JQuery LGA Locality Location Location Logic Manual Maps Metadata Multiple Countries Multiple Widgets Open Street Map PAF PO Box Parcel Locker Phone Postcode Postcode Read only Region Restrict Shipping Split Fields State Street Styling Suburb Uppercase User Interface Verification