• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't read form values

#51
(07-22-2017, 10:45 AM)Junie Wrote:
(07-22-2017, 10:35 AM)Paradinight Wrote:
add_person is not called in you code

Yes, because I don't wan't to use the modal. I think that's what I missed.

you save method is wrong. you call the wrong url.

Because the url variable is empty, you send to the wrong controller.
Reply

#52
(07-22-2017, 10:49 AM)Paradinight Wrote: you save method is wrong. you call the wrong url.

Because the url variable is empty, you send to the wrong controller.

Sir,

When I try to add this line to the save function save_method = 'add';. Still, it doesn't work out. Why is that? I tried the developer's console using Firefox. see the screenshot below


Attached Files Thumbnail(s)
   
Reply

#53
(07-22-2017, 08:38 PM)Junie Wrote:
(07-22-2017, 10:49 AM)Paradinight Wrote: you save method is wrong. you call the wrong url.

Because the url variable is empty, you send to the wrong controller.

Sir,

When I try to add this line to the save function save_method = 'add';. Still, it doesn't work out. Why is that? I tried the developer's console using Firefox. see the screenshot below

3 request. 2 have a 500er.

Did you press the button 3 times? Can you show me the headers?
Reply

#54
Sir,
When I add this line of code save_method = 'add'; into the save function. See the 1st screenshot & without that line of code 2nd screenshot.


Attached Files Thumbnail(s)
       
Reply

#55
(07-25-2017, 05:20 AM)Junie Wrote: Sir,
When I add this line of code save_method = 'add'; into the save function. See the 1st screenshot & without that line of code 2nd screenshot.

2. screen has a wrong url and 1. screen the correct url


can you show the full request header and the preview from the first screen?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.