php

Hidden Element not submitted on Drupal Form

Hidden elements can be easily created on a Drupal form. When the form is submitted, $form_state variable seems to be holding the value of this element in various hooks, "form_alter", "validate", etc.

Note that if you have an ajax call or a jquery code which assigns or modifies the value of the hidden element, this value will not be sent when the form is submitted. For eg, An hidden element is created from -

How to install ImageMagick and Imagick on Ubuntu or Debian.

ImageMagick is a popular tool used for creating and modifying images. Check below to know how ImageMagick and Imagick on Ubuntu is installed and configured.

Install ImageMagick

Use a simple apt-get to install this as it is already included in the base repository.

sudo apt-get install imagemagick

Install Imagick

Use apt-get to install imagick -