Welcome Guest, Not a member yet? Register   Sign In
how to gather the form info in koolreport?
#1

I am using koolreport. At some point I need the user to tell me what year they want the report generated for. I was told to include this in the top of the report. But other than the date being formatted correctly, I have no idea how use the date that was entered. Is this posting back to the server? Can anyone point me to the easiest way to have a user enter a date in CI?




form method="post">
    <?php \koolreport\inputs\DateTimePicker::create(array("name" => "dateRange","format"=>"YYYYMM")); ?>
    <button type="submit">Submit</button>
</form>
proof that an old dog can learn new tricks
Reply
#2

(This post was last modified: 08-04-2020, 03:52 AM by InsiteFX.)

This is a third party software you need to go there and ask them.

But it should be like any other form data in the $__POST variable.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

Thanks. That should do it.
proof that an old dog can learn new tricks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB