KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Using Amazing to create a survey #1737

Open Richb201 opened this topic on on Nov 27, 2020 - 1 comments

Richb201 commented on Nov 27, 2020

I have gotten to the point where my application gets the survey results in a function in my application using

<form id="survey_result" action="survey_results" method="POST">

'the survey'

<div class="form-group" style="margin-top:30px;">
    <button class="btn btn-lg btn-primary">Submit form</button>
</div>

But I need to send in a few fields that the user is not inputting that will help my application write out the data correctly. For example I need to send in the email address of the user "tom@gmail.com".

How can I do this?

KoolReport commented on Nov 28, 2020

You may use the hidden input inside the form

<input name="hidden_email" value="tom@gmail.com" />

You will receive this at server $_POST["hidden_email"]

Hope that helps.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None