Results 1 to 2 of 2

Thread: Form submit, no ID passed

  1. #1
    Sencha User
    Join Date
    Oct 2015
    Posts
    37
    Answers
    1

    Default Form submit, no ID passed

    Hello,


    For instance, I have UsersGrid and UserForm. When I press edit in UsersGrid I get UserId and by UserId I get User entity from a backend with all the data I need. Problem is, when I press Save in UserForm it only passes fields which are within a form -> items.

    It doesn't make sense, as in most cases most people also gonna need that UserId to be passed as they need to know which entity to update in sql. If I add field with name UserId I can get that ID passed, but it's not a solution as if I hide that field (UserId) it won't work.


    Is there any solution for this? Maybe I'm missing something?


    Sincerely,
    M
    .

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Are you using a hidden field or hiding a textfield?

Similar Threads

  1. Replies: 5
    Last Post: 15 Nov 2013, 6:21 AM
  2. Form Values not getting passed in Chrome
    By satishs in forum Sencha Touch 2.x: Q&A
    Replies: 12
    Last Post: 23 Mar 2012, 1:39 PM
  3. Replies: 0
    Last Post: 15 Apr 2011, 10:39 AM
  4. form.submit is not a function [Break on this error] form.submit();
    By intro in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 30 Aug 2010, 11:03 AM
  5. form.submit doesn't call url in form submit action
    By webwolfi in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 26 Apr 2009, 10:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •