1

I am using paragraph module.

Named Address: It has fields address 1, address 2, state, country. (User can add unlimited addresses)

While creating the node, I have added 2 address.

While edit, I want to hide that paragraph which are coming from DB.

I want to display all data on modal.

But user can add multiple address on same page.

I searched may be we can achieve via

HOOK_field_widget_FIELD_WIDGET_form_alter

But not sure how to hide them?

Any ideas

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.