I'm in Drupal 10 and have an ajax callback where I need it to return two fields. I've gotten this to partially work, but am running into an inconsistency depending on if the field is at the top level or under a tab via form display. In the below example, field_people in form display is a top level field, and field_featured is nested under a tab via form display.
I have a Drupal 10 site in which most nodes are locked to authenticated users. If an anonymous user lands on a locked page, they are prompted with 403 page with login block containing an SimpleSAML Federated login link (SSO), and a username and password field (for Drupal-created users). I'd like either sign-in method to reroute the user back to the node they were on upon successful login. Currently, it routes to /user/[username].
I’m facing an issue when selecting images while creating content. Two options are available—"Upload Images" and "File Listing." The "File Listing" option is not working as expected. However, the entity browser view is showing the correct preview, and the widget settings for both options (DropzoneJS for upload and a view for file listing) are properly configured. I’m using the View display as "File Entity Browser: Entity Browser."
I have a pretty large webform which is submitting fine. Owners of the site now want to levy a charge for submitting the form by adding an Add To Cart button.
I don't want to create a whole product to include all the webform fields but will need the new product to include a couple of the existing webform field values.
I'm not sure how to go about doing this. All help appreciated.
I have a few custom entities defined by a custom module. One entity called, 'scene' contains an entity reference field to another entity called 'placed_asset'. When a user is editing or adding a new 'scene' entity, they can also add a new 'placed_asset' entity via the inline complex widget.