Citizen Consent Form UI
UI details for consent forms for citizen users
Objective: This feature allows users to get consent from the citizen during the citizen login. This is needed only on the citizen/architect side of the login. This feature is present on the citizen login page where the user is allowed to make payments without login.
Workflow Details
Citizen users must enter their mobile number and tick the check box. Clicking on the Next button enables users to log in.
The next screen is visible as below:
Enter mandatory fields and tick the check box. Clicking on the Next button enables users to proceed to the next step.
Clicking on Privacy Policy opens a popup with the policy content.
Technical Implementation
Enabling The Feature
Using the MDMS, we can enable or disable the feature by setting the param isCitizenConsentFormEnabled
: true or false in the MDMS file (CitizenConsentForm.json).
Setting it to true indicates the feature is enabled. Setting it to false indicates the feature is disabled (old logic will work as it is).
Citizen Login Page
Make Payments Without Login
Configure Consent Form Data - Steps
Share the HTML file with the DevOps team with the bucket name, they will provide the s3 link for html file.
Here, 1. isCitizenConsentFormEnabled is used to enable the citizen consent form. 2. checkBoxLabels is used to display labels along with the link. 3. link is used to display the link. 4. linkId is used to pass the id to the header to display the header dynamically. 5. en_IN is the language code and is also used to display the content using the s3 link. 6. linkPrefix is used to display the link pre-content. 7. linkPostfix is used to display the link post content. 8. CitizenConsentForm is the mdms config.
Citizen Consent Form Old UI Login
Localisation
Localisation keys are added under the ‘rainmaker-common’ locale module.
Last updated