51Degrees Pipeline Python  4.2

51Degrees Pipeline for Python

client_side_evidence_custom_flow_element.py

This example demonstrates the creation of a custom flow element. In this case the flowElement takes the results of a client side form collecting date of birth, setting this as evidence on a flowdata object to calculate a person's starsign. The flowElement also serves additional JavaScript which gets a user's geolocation and saves the latitude as a cookie. This latitude is also then passed in to the flowdata to calculate if a person is in the northern or southern hemispheres.