I have a drupal form and I want a make a one field as hidden and when user click on submit button that hidden field should be shown in a popup. Then user should be able to enter some value to that field and submit the form. please help me to do this in drupal. Thanks in advance
How to show a hidden field in a drupal form as a pop up after click submit button?
751 Views Asked by Rohitha At
1
There are 1 best solutions below
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
Related Questions in DRUPAL
- Drupal access control to custom user profile page
- How to list all child pages of current parent page in drupal 7?
- MariaDB/MySQL all of a sudden crashed and won't restart
- Drupal location module shows only a portion of Gmap on node page
- How to add a select collection type select list to field collection
- Drupal7 modified user login no effect?
- Drupal AngularJS ajax simple ng-repeat update
- Drupal: Access A Field in hook_views_query_alter()
- Drupal Webform : set SCORE on each SELECT Options?
- Register new user as authenitcated user in drupal using xml-rpc
- Drupal domain access auto create content
- How to display sibling pages except current page in drupal 7?
- how to merge entity reference relationship field value
- Drupal print breaks when rendering a region
- All files and folders are not being listed in the imce file browser in Drupal 7
Related Questions in DRUPAL-7
- Drupal access control to custom user profile page
- How to list all child pages of current parent page in drupal 7?
- Drupal location module shows only a portion of Gmap on node page
- How to add a select collection type select list to field collection
- Drupal AngularJS ajax simple ng-repeat update
- PHPStorm Drush on Vagrant
- Drupal: Access A Field in hook_views_query_alter()
- Drupal domain access auto create content
- How to display sibling pages except current page in drupal 7?
- how to merge entity reference relationship field value
- Drupal print breaks when rendering a region
- Drupal 7 treating HTML div with data attribute as text
- All files and folders are not being listed in the imce file browser in Drupal 7
- drupal api returns json causes syntax error, malformed JSON in json_decode function of php
- Drupal module development, custom database tables, pages for managing those data
Related Questions in DRUPAL-FORMS
- Drupal 8 hook_form_alter not called in the search block form
- Drupal Implementing some HTML within a node?
- using module_invoke_all to submit a form question
- How would you approach creating a "Mad Libs" style form in Drupal?
- Drupal multi step User Edit profile in light box
- single hook_form for many form ids
- Add css property for individual components in form elements - Drupal
- how do i make diffrent registration form in drupal?
- Remove class="form-item" from Drupal forms
- Adding Drupal Field Collection element to a custom form
- Drupal form autocomplete from taxonomy
- Drupal 7 - Hide 'remove' button on file field
- Drupal form option populate from loop
- How to show a hidden field in a drupal form as a pop up after click submit button?
- Add/Edit Custom Content Type using a Custom Form
Related Questions in DRUPAL-CTOOLS
- node form submit not working in ctools model
- (Drupal) Unsupported operand types in /var/www/html/includes/common.inc
- How to make multistep forms with drupal using various node types
- Drupal 7 - "illegal choice" error for ajaxed select field (not using Drupal FAPI #ajax)
- How to show a hidden field in a drupal form as a pop up after click submit button?
- Drupal Page manager: Can I provide a variant in my module?
- "context" on a drupal page
- drupal ctools multistep wizard
- CTools Include sometimes doesn't work
- Drupal 7 CTools Upgrade Gives Ajax Popup Error
- HTML / Php forms - how to save an optional, unselected drop-down as null/empty instead of an option?
- Drupal: what's the similar way of views_embed_view() for embeding a Panel page?
- Fatal error:problems with ctools
- Drupal 6.x CTools
- How to theme the ctools modal window
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is what I would do
1) Hide that field using js.
2) Have a button on the form which does not submit the form but makes the field visible.
3) Then show the 'fieldtohide' with the actual submit button.
I don't see the use of drupal forms api for this.This can be done using js.