How to I pass the event.argument from Display form to the next Query.
I want to use the AutoComplete, but if the user types in a partial where its not in the list. How can I send this event.argument from the display form to the next Query. Ex. I typing in a Parcel ID 147 (the whole ID 147FC019) the user hits enter or Search after the first three characters. I see this event.argument in the query under the Suggestions, but how I pass it after the Search button pressed and to the next Query. So, Yes I do want to search on partial Parcel numbers.
Thanks
Jim Brink
-
For autocomplete elements use $form.state.element.label.
You should play around with your form in the sandbox or in a viewer with the debug query property set true, then open the dev console. You'll be able to see the complete structure of that form object and it will help you going forward.
0 -
^EDIT: use &dev=true instead of &debug.
0
Please sign in to leave a comment.
Comments
2 comments