Multiple fields in an author query dialog
Posted: Mon Sep 23, 2024 3:58 pm
Hello,
While creating frameworks I often need to provide users with a way of adding an element with a number of children, such as:
The texts ('Aristoteles', 'Nicomachean Ethics', '354 BC') are provided by the users through a series of dialogs that rely on separate instances of the generic ${ask()} (or other types of input).
If the user skips a dialog, or enters data in the wrong order etc., the whole process must be aborted and started anew. This is especially regrettable if there is a long series of text chunks.
Is there a way to configure a multiple field dialog, so that the user can view all the fields and the data they are about to feed into the XML before the insertion takes place?
Thank you in advance!
While creating frameworks I often need to provide users with a way of adding an element with a number of children, such as:
Code: Select all
<fragment>
<author>Aristoteles</author>
<work>Nicomachean Ethics</work>
<date>354 BC</date>
</fragment>
If the user skips a dialog, or enters data in the wrong order etc., the whole process must be aborted and started anew. This is especially regrettable if there is a long series of text chunks.
Is there a way to configure a multiple field dialog, so that the user can view all the fields and the data they are about to feed into the XML before the insertion takes place?
Thank you in advance!