내 커뮤니티 업적 표시줄을 확대합니다.

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

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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 채택된 해결책 개

Avatar

정확한 답변 작성자:
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

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
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