Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4088258
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:57:34+00:00 2026-05-20T18:57:34+00:00

Before ill ask my question I sould mention that i read every post about

  • 0

Before ill ask my question I sould mention that i read every post about this problem.
I am submitting my extjs form using: form.getForm().getValues() in an independent ajax request.

I cant submit my value (userManager_userId) in a combo to to the server:

       new Ext.form.ComboBox({
            name: 'userManager_userName',
            valueField: 'userManager_userId',
            hiddenValue : 'userManager_userId',//I want to send this ti the server (Integer)
            displayField: 'userManager_userName'
            ....
    )}

The combo providing/submitting its display and not its value.
I should mention that when the for loads, I charge it with data from the server by using a Ext.data.JsonReader
Thanks

Update

So I did a little test for you to see live:
http://fatnjazzy.byethost8.com/
you can view source to see the js source.
Ill post it here when we are done.
Now it is working but the form does not initial its values.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:57:34+00:00Added an answer on May 20, 2026 at 6:57 pm

    Do you have hiddenName property set for your combo box?When you use hiddenValue, you need to make use of hiddenName. hiddenValue just sets the default value for the combo. By setting it you will not be able to send the value to the server side.

    Update: Since you are using separate Ajax request to submit the form, why are you using hidden field to store the values? you could access the value of the combo box from:

     comboObject.getValue()
    

    Another possible reason why your form.getForm.getValues() do not give the combo’s values will be due to having wrong value in valueField. In your case you have userManager_userId. Is that your underlying data value name to bound to the ComboBox? Here is my example:

    store: new Ext.data.JsonStore({
        fields:['item','value'],                            
        data: [
                {item:'Option 1',value: 'OP1'},
                {item:'Option 2',value: 'OP2'},
                {item:'Option 3',value: 'OP3'}
            ]                   
    }),
    mode: 'local',
    editable: false, 
    allowBlank: false,
    forceSelection: true,
    valueField: 'value',
    displayField: 'item',
    name:'tt',
    id: 'tt'
    

    Here the valueField’s value is bound to my store’s value field..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

before I ask my question I wanted to let everybody know that I appreciate
Ok, I'll explain why I ask this question. I begin to read Lift 2.2
Before I start, I know there is this post and it doesn't answer my
Before I do this I figured I would ask if it was the best
Before you answer, this question is complicated: We are developing in asp.net / asp.net
Before I ask my question: I just started ASP.NET MVC, so an advanced answer
This was originally a question I wanted to ask, but while researching the details
Hi this question or problem i have its very hard i have search and
I'm sure this question has been answered before, but I don't think I'm using
I know this question has been asked before, but none of the existing SO

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.