Guided Mode versus Choose Mode
Both SPF API and SPF Hosted clients have the ability to choose how employees navigate between forms provided by SPF.
- Guided Mode: Ideal for employee onboarding — employees are coached through an automated process ensuring forms are correct and complete.
- Choose Mode: Ideal for companies and employees who know the exact forms they need — gives employees the ability to select forms at-will while field validation ensures employees complete forms accurately.
The implementation option is set at the Company level and not employee level; therefore, you'll want to determine what implementation option works best for your application.
Guided Mode is designed to help determine the precise withholding form(s) a user may need based on their unique withholding scenario. This is accomplished by leveraging a user's home location and one or more work locations. Based on address details, applicable flows are determined which contain targeted questions that help to identify the specific form(s) needed.
Below is an example of the Choose Mode interface for an employee who lives and works in Alabama.
Guided Mode for Hosted
To enabled Guided Mode, set the
<enabled> element within
<guidedMode> to true in the Registration Context.
<guidedMode> <enabled>true</enabled> <disableLocalitySelection>false</disableLocalitySelection> <disableFederal>false</disableFederal> </guidedMode>
Guided Mode for On-Premise
To enabled Guided Mode, set the element within to true in the Settings XML file.
Guided Mode for API
/guided-flows (POST) endpoint returns the list of applicable flows based on the home address and one or more work addresses sent in for the employee.
The resulting flows are then used to filter the list of all applicable forms down to a list of required forms. Note that some states/scenarios do not required additional information to filter the applicable forms.
To see a complete example and diagram of this flow, check out the Guide Flows Example within the guide.
Choose Mode returns the list of all possible withholding forms the employee may complete for that specific onboarding scenario. This option is ideal when a user knows what form(s) they need to complete.
Below is an example of Choose Mode for an employee who has both an Alabama residence and work address.
Choose Mode for Hosted
To enabled Choose Mode, set the
<enabled> element within
<chooseMode> to true in the Registration Context.
<chooseMode> <enabled>true</enabled> <forms/> </chooseMode>
Choose Mode for On-Premise
To enabled Choose Mode, set the element within to true in the Settings XML file.
Choose Mode for API
/forms (POST) endpoint receives a single home address and one or more work addresses representing the employee’s physical work locations. It returns a list of applicable forms for the employee’s withholding scenario.
/formQuestionSet (GET) endpoint returns a question set for a given form. Each question set may contain one or more questions, validation regular expression, and navigation aids.
To see a complete example and diagram of this flow, check out the Choose Mode Example within the guide.
Updated about 2 months ago