Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] foreign key field not saved (using AJAX)

[FIXED] foreign key field not saved (using AJAX) 28 Jun 2012 07:40 #2716

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
Foreign key field in form as select list showing other than ID as label is not saved in the DB.
Last Edit: 12 Jul 2012 08:32 by admin.
The administrator has disabled public write access.

[FIXED] foreign key field not saved (using AJAX) 28 Jun 2012 10:16 #2717

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
I forgot to mention, it happens with the AJAX feature enabled.
The administrator has disabled public write access.

[FIXED] foreign key field not saved (using AJAX) 28 Jun 2012 11:07 #2718

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
I will check this.
Coding is now a piece of cake
The administrator has disabled public write access.

[FIXED] foreign key field not saved (using AJAX) 09 Jul 2012 18:59 #2770

  • Ferm
  • Ferm's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 6
  • Karma: 2
I just had the same issue and it goes away when I switch ajax off.

Despite the odd glitch, I agree with many others that this is a brilliant tool. It saved me so much time. Keep up the good work!
The administrator has disabled public write access.

[FIXED] foreign key field not saved (using AJAX) 12 Jul 2012 07:42 #2780

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
For me it is working.

Which PTL ? So I can check it in your sandbox.
Coding is now a piece of cake
The administrator has disabled public write access.

[FIXED] foreign key field not saved (using AJAX) 19 Jul 2012 16:26 #2827

  • Ferm
  • Ferm's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 6
  • Karma: 2
Apologies for the delay in getting back. I have a project called "Feedback". Try "ColFeedbackMgr from the front end and click on the link on the one item in the table (58568). There are two fields in the form your get to ("Foreign Key Test") both using the same foreign key. The top one has ajax loading switched off and the bottom one has it swtiched on. If you make selections and save, only the top selection will be saved.

Please have a look and see what you think.
The administrator has disabled public write access.

[FIXED] foreign key field not saved (using AJAX) 19 Jul 2012 16:58 #2828

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Ok I see, you are right.
It happens when you use Ajax loading without the groub by property.

Nothing really boring, but I will fix this.
Coding is now a piece of cake
The administrator has disabled public write access.

[FIXED] foreign key field not saved (using AJAX) 25 Jul 2012 20:39 #2894

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Fixed
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.164 seconds

Get Started