Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Coral Multifield Not Preventing Empty Field Submit

Avatar

Level 3

Hi Community!

I wonder if you ever noticed that Coral Multifield (granite/ui/components/coral/foundation/form/multifield) dialog item does not block user from submitting an empty required field. At the same time, Granite multifield (granite/ui/components/foundation/form/multifield) dialog item does the job well.

So, please, share your experience: do you have the same?

P.S. My dialog configuration with Coral widget onboard

<coralmultifield
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
   composite="{Boolean}true"
   fieldLabel="Actions"
   required="{Boolean}true">
  <field
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/foundation/form/fieldset"
   acs-commons-nested="NODE_STORE"
   name="./">
  <layout
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"
   method="absolute"/>
  <items jcr:primaryType="nt:unstructured">
  <column
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/foundation/container">
  <items jcr:primaryType="nt:unstructured">
  <field1
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/foundation/form/textfield"
   emptyText="Field 1"
   name="./f1"
   required="{Boolean}true"/>
  <field2
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/foundation/form/textfield"
   emptyText="Field 2"
   name="./f2"/>
  <field3
   jcr:primaryType="nt:unstructured"
   sling:resourceType="granite/ui/components/foundation/form/textfield"
   emptyText="Field 3"
   name="./f3"/>
  </items>
  </column>
  </items>
  </field>
</coralmultifield>

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

Hi,

I created Multifield with Coral3, required works fine for me and doesn't submit dialog if field is mandatory.

I am using AEM6.3

I'll try with your code also.

Thanks

Arun

Arun Patidar

AEM LinksLinkedIn

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten

Avatar

Korrekte Antwort von
Community Advisor

Hi,

I created Multifield with Coral3, required works fine for me and doesn't submit dialog if field is mandatory.

I am using AEM6.3

I'll try with your code also.

Thanks

Arun

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 1
facing same issue, do we have any solution