To display the choices in a single line, you can use the showInline="true"
attribute within your <Choices>
tag. This will render the choices horizontally instead of vertically. Here's how you can modify your existing <Choices>
tag:
<Choices name="is_useful" toName="item" required="true" showInline="true">
<Choice value="yes"/>
<Choice value="no"/>
</Choices>
By adding showInline="true"
, the choices "yes" and "no" will be displayed in a single line, achieving the layout you're looking for.