I am using the following:
Confiform form Definition
Confiform field definition: "f1" (type: readonly)
Confiform field definition: "f3" (type: Dynamic Dropdown (auto-suggest) - webservice)
Confiform field Definition Rule: for "f3" (Lookup and set WS value); values to set: "f1=[entry.<customer-field-name>]"
Background:
all the webservices return JSON object.
From where I stand-
when I register an entry to the form. The dynamic drop down works flawlessly. When it comes to running the Definition Rule for 'f3', it happens to.
Problem occurrence:
in the step where the values are being set from the returned JSON object.
"f1=[entry.<customer-field-name>]"
the issue appears when the 'custom-field-name' contains '_ (underscore)'
I have tried reading different fields from the returned JSON object from the API called with Definition rules. The values for 'custom-field-name' as only alphabets works like a charm. when the field name contains '_ (underscore)' the processing fails somehow and no values are assigned to 'f1'
Thanks a ton in advance for any help I can get. if this method works, I will have a significant improvement to the performance of the form.
NOTE: Due to confidentiality I cannot share the form definitions or any screenshots or form source code. Therefore, I tried to describe this to the best of my abilities. In case, this is not clear, kindly get back to me seeking clarification. If you know how to perform a WS look up with field definitions and if you know how definition rules work - this should be easy for you to comprehend.
@Alex Medved _ConfiForms_- tagging you to reach the answer quicker. Sorry, if it has reached you in the middle of something important.
I need to see how the JSON is structured. Only knowing the structure is possible to advise anything
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.