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

Problems with ajax-addmore example and required field.

Playing around with forms and ajax but ran into problems. When I add a form element before the ones that should be added dynamically it's stops working if the element is required.  I thought I could solve it by skipping required and validate instead but it gave the same result (and I do like to have the red star :-).

I'm to much of a rookie in Drupal 8/9 to have any clue on how to solve this so I really hope there is someone with a solution.

Im running Drupal 8.9.0.

move a form element

Hello,

 Possibility to move an element of a form before another element thanks to the module create personally.

 Cordially.

adding text in a specific div

Hello,

 Possible to add HTML in a div of a specific page thanks to the personal module created in drupal?

 cordially.

add a field in the middle of a form thanks to the drupal module

Hello,

 How to add a field in the middle of a form thanks to the personal drupal module.

 With following instruction, the field is added at the end:

$form['action']=array(

'#type'=>'checkbox',

);

 

Return $form;

Input field in a table based on taxonomy on the content type

Hi all,

I have a (private) taxonomy terms that I would like to assign values to. 

So taxonomy can be added by users themselves, and they need to be shown on the creation of the content type. 

I would like to know how I can do the following (and I'm not really a hardcore Drupal expert, so easiest solution would probably be best :-)

How to store the last accessed form values before a user logs out

Hi,

My webpage looks like the following:

https://imgur.com/a/cjLLK8d

I want to store the last accessed values of the form before the user logs out. So that when the logs in again, he sees the same page.

It would be helpful if you kindly let me know how this can be achieved.

Thanks,

Pages

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