Field set to readonly does not pass it's value


Posted by ebelford - Aug 8 ’16 at 10:14

I have a task list that I have appearing on my form using the Related Items object in FD.

I use the following code to automatically associate a new task with the parent item on the form:

var parentID = fd.getSourceID();

if (parentID) {




I set the value to readonly on the task list form so that the user cannot modify the association, but when I do this, it doesn't appear to save that value (it chooses the first item in the list instead each time).  When I disable the readonly line, everything works as expected.

Is there a way for me to disable the value while having the selection saved?

Thanks in advance

  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 8 years 7 months 25 days
    #1 by Dmitry Kozlov Aug 8 ’16 at 11:14

    Please, read the following thread:

Displaying 1 to 1 of 1 messages