This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

CONFIRM CANCEL module

Hi, I am struggling with a choice that should be simple but that I can not solve because I did not understand how it works.
The question is this.
I have a custom form with various buttons that execute code within their submits.
In particular, for a button the code must be executed only after the confirmation request, through a modal window with the CONFIRM and CANCEL request.

For the articles I have read, I have 2 possibilities
Use confirm-an-action or call a js function.
For both, the logic of use is not clear to me

Entity Browser Help

I'm using entity browser that displays two tabs in a modal.  The first tab (View) is tied to a view which displays all of the nodes of a specific content type.  The second tab (Entity Form) allows the user to create a node for that content type.  The button associated with this tab works as it should: opens up a new window that displays the form.  The issue I'm having is how to hide the form under this tab.  I only want to display the "create a new node" button and NOT the entire form.  Using CSS doesn't seem to be correct and I can't seem to find a config anywhere that would let me hide th

Confirmation Question Window

Hi, I have a Custom Form with some buttons.
One of these copies the nodes to another content entity.
Before carrying out the operation in the submit button, you must ask for confirmation.
Reading the documentation I saw that a module has to be created.
I did some tests but it displays only the confirmation button and not the one to cancel the operation.
Although I used function getCancelText () it doesn't show me the button.
The ideal would be a small modal window with YES NO, remaining on the current window.
Place the code for any omissions

Migrate filter_format from Drupal 6 to Drupal 9 with embedded_data plugin

I'm trying to migrate filter_format from d6 to d9, I'm using embedded_data 'cause migrate_drupal doesn't work with D6; so I'm trying to do it in another way.

This is my yml file:

Attendance system

Hi,

Trying to create an attendance system using webform for a school. Users are registered through a webform entity with student details- firstname, surname, dob, etc.

To create an attendance logging system - Likert scale columns with Present, Late, Absent seems sensible - but I have not been able to use any entity reference list (views of webform submissions - firstname surname) to populate the likert options values.

Different ways to save data from a form

Hello everybody.

I will start to develop a new module. This module will works saving values ​​of a form. I know that you can save values in module.settings or make a table in the database and save there the values.

I would like to know if there is another ways to save values.

This module will generate form field with a button add more. I try to make it before but i could not save the datas.

I Find some tutorials that show you how to make the form but dont show you how to save the data and the form is deleting when you reload the page.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions