Welcome Guest, Not a member yet? Register   Sign In
get values from modal dialog to controller
#1

I have a problem in getting output values pass to the controller using modal dialog method in php codeigniter

i want those values separetely. based on those output i can able to process the next step.
I attached view file and screen shot of the modal dialog boxes

Help me guys

Attached Files Thumbnail(s)
   

.php   assessment.php (Size: 7.08 KB / Downloads: 103)
Reply
#2

(This post was last modified: 06-25-2018, 07:38 AM by php_rocs.)

@kvanaraj

If your modal is a form then simply set the form attribute "action" to the specific controller location that will process the input.

example: <form action="Yoururl.com/index.php/Controllername/controllermethod">
CI userguide form validation example: https://codeigniter.com/user_guide/libra...n-tutorial
CI userguide assistance: https://codeigniter.com/user_guide/helpe...ight=forms
Reply
#3

(06-25-2018, 07:35 AM)php_rocs Wrote: @kvanaraj

If your modal is a form then simply set the form attribute "action" to the specific controller location that will process the input.

example: <form action="Yoururl.com/index.php/Controllername/controllermethod">
CI userguide form validation example: https://codeigniter.com/user_guide/libra...n-tutorial
CI userguide assistance: https://codeigniter.com/user_guide/helpe...ight=forms

now its working. my form successfully posted to the control. thanks rocs.
Reply
#4

@kvanaraj,

No problem. Glad I could help.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB