If an anonymous user partly fills in a form, then leaves the page for whatever reason, it would be good if the work he/ she already did was preserved, at least for the duration of his current session. Any solutions for this?
I have been submitting an error when sending my Drupal form, the code is designed to insert the values of a select type field in my database. I do not know what I'm failing but I've been trying to find an answer for over a week and I could not.
/*METODO CONSTRUCTOR DEL FORMULARIO - buildForm*/
Public function buildForm(array $form, FormStateInterface $form_state) {
I am totally new to Drupal 8 module development and after searching in different forum I have still not found an answer to something I consider really basic.
Apologies if my question kind of newbie.
I would like to build some custom modules and make their visibility change at runtime for the currently logged on user.
So let say that user X logs on the Drupal site and clicks a check box on custom module A
I am looking to create a custom rule where a webform will only be displayed every 3 or 6 months if a user accessed the page using the same IP Address.
They would have to accept the T&Cs if the IP Address has not been used before but if it has been logged then the page should not reappear for the user.