Can anyone help me to make multipage form not multistep. Suppose On front page i have two fields select service and select location and a button and after selecting both clicking on button opens a new form on new page.


You can use Webform module and create multiple separate forms.

On submission of first (on front page), you can redirect users to another page (another webform) based on their selection using custom redirect in webform settings and tokens [submission:values:?] that use data from webform that has been submitted. You just have to set "key" on selects in your form properly.

enter image description here

| improve this answer | |
  • Thanks for you answer. Can you pls explain about keys ie field key(I guess) and how i will get form 1st data to next page form. – alok Jul 17 '15 at 13:17
  • When you create form element with multiple options (select list for example), each item on that list is defined as pair KEY | VALUE. User can see value while you work with keys when processing results. So you can set one of your "field_service" options to "foo | I need Foo service". User then selects "I need Foo service" and after submission, that form redirects to custom url of specific Foo service form (www.example.com/foo-service-form) by [submission:values:field_service:key]-service-form – tdd Jul 20 '15 at 5:42
  • How i will use this data in next form – alok Jul 20 '15 at 5:50
  • Adn since those two forms are completely separate, if you need to prepopulate some fields of second from first, you can pass values in URL (by using tokens in redirect url again) and set default values in second form to read those from url query - see drupal.stackexchange.com/q/81182/38635 – tdd Jul 20 '15 at 5:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.