• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Display fields on forms

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Display fields on forms

    This is probably a silly question. When I change a form field to a display field (Ext.form.field.Display) then form field is no longer submitted. If the "submitValue" is set to true then shouldn't the field be submitted?

  • #2
    Not a silly question at all. Display fields will not be submitted. I will give you two alternatives:

    1.) Change your display field back to its original type (textfield, numberfield, etc...) and set the "readOnly" property to true.
    2.) Leave your display field as is. Add a "hiddenfield" to your form. A "hiddenfield" will submit.

    Comment


    • #3
      Thank you so much for explaining that clearly!

      Comment

      Working...
      X