Hello,
I have a question concerning RESTXQ design patterns.
Imagine you have a page P1 displaying an input field, and you want to provide a button enabling the user to pick the terms from a list, rather than entering them.
So after pressing the button, another page P2 appears, listing the terms and enabling a selection.
After selection, P1 should again appear, looking as before, except for the selected terms appearing in the field.
A common pattern, isn't it. How to implement it? One approach would be P2 calling P1 (via form/@action), passing the selection to P1 as form or query parameters. But then the input of P1 must include everything required to restore the previous appearance, including the values of input fields from forms not yet submitted.
There is certainly a simpler way? I suppose a standard approach handles this completely with JavaScript, updating the page. I wonder if RESTXQ and supporting modules enable some alternative?
Thank you, with kind regards -Hans-Jürgen