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

Duplicate Modules

Preventing, finding and removing duplicate modules.

How to add an html element inside FormBase Class

I am building a form, how I can insert some label or text (h1) or (p) for my form elements inside my buildForm() function?

How to pass variable to Controller.php FROM .js file?

Hello friends, 

I have successfully managed to pass a variable from my Controller.php file to a .js file using the following method:

.js file:

Create a STRIPE account and add a credit card

Hi All,

Drupal 8

I have been looking for a solution to create a Stripe account and have them save the credit card info during a Drupal 8 Webform submission.  I do not want to actually charge anything during this form.  

Ideally, I would like to do it so I don't need to handle the CC info but I don't see how to do this during the form submission.  The only way I am finding is to actually collect the card and customer info and then send it to Stripe AFTER.  But this will require full PCI compliance and is not the way I would like to go. 

Any suggestions?

How to create a dynamic form using drupal 8 the right way?

[Drupal8]

I have created a content type bundle called Question, which includes few form fields and a reference entity, the structure can be found on the following image Content type structure for Question bundle

My Goal is to build a page to display random 10 questions with checkboxes that represent answers for each question (Like Simple Quiz), and then submit the form for calculation the score of the user and display it.

How to delete from multiple tables using inner joins. Dynamic Query

Hello Friends,

I am trying to delete all records associated to a id from multiple tables using inner joins.

My query currently looks as follows:

Pages

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