Webform 8 tokens: Attempting to display a field's previously-submitted value for a user's second, third etc submissions

I'm building a webform (Drupal 8, Webform 8.x) that I'd like users to be able to complete multiple times. For their second, third etc times using the form I'd like to pre-populate some fields based on their previous submission.

The basic functionality is: Once a user has successfully submitted a form, the page reloads and the user receives a message at the top of the form stating that they've successfully submitted the form; the form appears below, ready for a new submission.

IL3-UB. Helping to spread academic programs from the University of Barcelona

The Client

The IL3-UB educational offer brings together all disciplines of science and the arts into a broad range of courses of different lengths, from master’s degree courses and postgraduate studies to seminars and personalized training for professional communities and companies

Sectors: 
Education

Select 2 option delete permentely if delete it or remove with backspace

I am using Select2 and Select2box issue is that when we select an option and then delete it will delete it permanently. User cant add that option again. he need to refresh the page and load it again. How can i stop to permanently delete. I can only remove from text box. And if user want to add he can add it again.

Schema API - How to access the $defaultSchema

Hi everyone, I'm working on functional tests for a module in Drupal 8.9 using postgresql as the db

The issue is that during a functional test, what I think is happening is the schema name changes to a test******* where the asterisks is a randomized number.

Because I have sub functions that altered the creation of tables by adding my own schema to the SQL statements (simple use schemaname.tablename) in the queries, this errors out when I try to determine if a table exists.

How to check intelligently for requirements in the .install-file?

I'm knitting a module (for D8, D9) with a requirement: emojis must be available (they're probably available for 99% of the users. I'm just trying to be nice to the 1%).

I've put this in the .install-file:

Custom Mass action plugin shows both Error and Warrning message

I developed a custom mass action which basically delete the content. but before that i am checked the permission does user have it permission to delete or not but if user dont have permission it trigger the error but side wise it also generate the warring msg also that mass action applied to number of rows.

how can i disable that warring msg when i have error message already

https://prnt.sc/1id5n46

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x