diff --git a/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/utils/Utils.java b/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/utils/Utils.java index 5a0085d6c..ae92e78d0 100644 --- a/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/utils/Utils.java +++ b/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/utils/Utils.java @@ -347,10 +347,6 @@ public static void buildRulesWithUniqueId(JSONObject element, String uniqueId, S for (Map map : mapArrayList) { JSONObject jsonRulesDynamicObject = new JSONObject(); String strCondition = (String) map.get(RuleConstant.CONDITION); - List conditionKeys = getConditionKeys(strCondition); - for (String conditionKey : conditionKeys) { - strCondition = strCondition.replace(conditionKey, conditionKey + "_" + uniqueId); - } jsonRulesDynamicObject.put(RuleConstant.NAME, String.valueOf(map.get(RuleConstant.NAME)).concat("_").concat(uniqueId)); jsonRulesDynamicObject.put(RuleConstant.DESCRIPTION, String.valueOf(map.get(RuleConstant.DESCRIPTION)).concat("_").concat(uniqueId)); jsonRulesDynamicObject.put(RuleConstant.PRIORITY, map.get(RuleConstant.PRIORITY));