cancel
Showing results for 
Search instead for 
Did you mean: 

How to autofill a voucher code from SMS in iOS ?

James
RUCKUS Team Member

Summary

The auto-fill option allows a user to seamlessly and accurately apply a voucher code, or any such one-time-use codes. We can implement this very convenient feature for voucher code entry on CloudPath. 

Steps

A small edit to the HTML source code of the default voucher code entry page can help add the auto fill feature.

This is the current workflow that I have created, very simple, just asking a Guest to input their Mobile Phone number:

James_0-1681289466182.jpeg

In Step 3, click on the blue text “verification code”. This will open up the step which is prompting users to obtain a Voucher from the voucher list “Guest Voucher List - 1 Day Access”.
NOTE Ensure that the format for the VOUCHER List are set to:

  • ALPHANUMERIC (upper)
  • ALPHANUMERIC (Lowercase)
  • ALPHANUMERIC (Mixed)
  • Numeric

James_1-1681289506428.jpeg

In the resulting page, scroll down to Webpage Display Information. Change the Page Source: to “Upload HTML File”

Click on the download button beside “Default: Using default file.”

James_2-1681289564691.jpeg

Open up the downloaded file in your favourite editor, I will use “Visual Studio Code” in this example.

In the file, do a search for “autocomplete”, there should be only a single entry there:

 

James_6-1681289732297.png

Edit the autocomplete=‘off’ to be autocomplete= ‘one-time-code’

James_5-1681289687876.png

Save the file.

Back to Cloudpath, in the page click on the “Choose File” button and upload the file that you saved:

 

James_7-1681289788511.png

Click Save on the page.

Deploy the Workflow

Continue through the workflow, enter you Mobile Number, when you re texted, you can simply click on the Verification Code: input box, and you will see a “From Messages XXXXXX” prompt show up.

James_8-1681289833471.jpeg

Select the prompt on your phone and the Verification Code will be automatically filled out!

 


 

 

 

0 REPLIES 0