How do I build conditional form?

Hello there,

How do I build a form with :

  • optgroup select for subject
  • conditional display of informations depending on the selected subject
  • conditional display of a part of the form if a checkbox is ticked

Cheers!

Example :

[ Subject <select> <optgroup> ⌄ ]

Conditional display : The content below varies depending on what is selected from the drop-down menu.

How do I take input for mobile/tablet specific fields?

The client wants to have a separate field for mobile specific. For example, the banner section - Image upload option is provided. Here there should be an option for mobile specific, so that image will be displayed only in mobile/tablet view.

How to configure this specific part? 

Upgrade from 8.6.7 to 8.8.1

I have upgraded using below command

drush pm-update

After update it gives below error

Fatal error: Class 'Aws\S3\StreamWrapper' not found in //web/modules/contrib/s3fs/src/StreamWrapper/S3fsStream.php on line 23

Any idea how to fix this?

Title as h1 using Layout Builder

Hi,
I'm creating a site on Drupal for the first time
I'm using Layout Builder to display news. I add a title block, but it displays as span:
<div class = "content">
       <span class = "field field - name-title field - type-string field - label-visually_hidden"> Title 1 </span>
     </ div>

how to change it to h1?

Thank you.
ps. sorry for my English

How to downgrade 8.8 dev to 8.8 stable?

I just went through a lengthy process of updating Drupal 8.7.10 to a Composer-managed 8.8.x setup using this helpful guide. It was successful, but I failed to realize that those instructions installed a dev version of 8.8.x (I assume it was written before 8.8.x was stable). I used the following code (from the guide linked above) to install Drupal 8.8.x:

Can't find info about module: Simple OAuth Extras

I'm a total Drupal newb. :D
I have a fresh install of Lightning Drupal 8.8.1

I'm looking through the list of modules, to learn what is installed and what I might want to enable.

I cannot find any info about the module: Simple OAuth Extras
Machine name: simple_oauth_extras

If anyone has a link to the module info page, that would be great.

Is it common to get modules installed by Distirubions that have no info on the Drupal web site?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x