Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X, Master
-
7.2.x, 7.1.x
-
Committed
-
3
Description
Steps to reproduce
- Navigate to Content > Forms
- add a data provider as the following settings
Name:zipcloud URL:http://zipcloud.ibsnet.co.jp/api/search?zipcode={zipcode} INPUTS: Label zipcode Parameter zipcode Type Text Required enable OUTPUTS: Label prefecture Parameter $.results[0].address1 Type Text Label city Parameter $.results[0].address2 Type Text
- add a form named "Address"
- add 3 text fields named "Postal code", "Prefectures" and "City"
- save the form
- add a rule as the following settings
Condition: If "Postal code" "Is not empty" and "Prefectures" "Is empty" Actions: Do "Autofill" Form Data Provider "zipcloud" Data Provider's Input: zipcode "Postal code" Data Provider's Output: prefecture "Prefectures" city "City"
- add a form portlet to any page and set "Address" form
- input some value to "City" field
- input "1500000" to "Postal code" field
Expected results:
"City" field remains with manually edit field
Actual results:
"City" field value gets overwritten by autofill