Hello, in our situation we need a form that gets filled out and that part is done.
However we need the results of the form that got filled out to be in a totally different layout that would contain additional info than the original form.
I've tried creating the file "webform-form-node#.tpl.php. It works however it edits both views. I only need to edit the view from the results page not the actual form that gets filled out.
I even tried creating "webform-form-submission-node#.tpl.php" but that doesnt seem to do anything.
Any ideas on how to do this? Thanks!
Clint
Comments
Comment #1
justclint commentedI forgot to mention, one example of what Im trying to achieve is when the user fills out the form a question will have radio buttons w/ options YES or NO. When going to the webform->results->view I do not want the radio buttons to be show but instead just the value that was selected, either YES or NO.
Thanks!
Clint
Comment #2
justclint commentedWell I made a bit of progress. I read this tutorial http://drupal.org/node/101092 which seems to be geared more toward cck but I did get that I could do the following to display a field:
What I still cant seem to get though is how to just display the title and the value of the field. Its still displaying the value inside an input box and same issue with radio buttons which Im not understanding why this is the default behavior for a view of the form. I am a newbie to Drupal. So any help is appreciated.
Thanks!
Clint
Comment #3
justclint commentedSo I found a solution but I have a 100+ question form to make and my solution seems quite daunting so Im hoping someone can provide a better solution than the following:
This gives me my output Im looking for but do I really have to go and make variables for every title and value of every single field?
Please help. Thanks so much!
Clint
Comment #4
justclint commentedHello.....Anybody???
At the very least can someone please direct me to where I can find the information I need. I would greatly appreciate it. I've been searching the web and the only info I find is how to build a form but I cant find anything that discusses pulling the data from the form or even customizing the "Results --> View" page of a submitted form. There just doesn't seem to be any info on this any where.
Thanks!
Comment #5
quicksketchSee #181077: Printable page for webform submissions.