undefined result for sharepoint field
-
- Posts: 6
- Joined: Mon Mar 11, 2013
hello, I'm a user of SPForm Designer since 3 months.
So I've encountered some issues using framework when I'm trying using this :
fd.field('myfield').control().value();
the result is undefined so that the field contains a value.
thx for reply
So I've encountered some issues using framework when I'm trying using this :
fd.field('myfield').control().value();
the result is undefined so that the field contains a value.
thx for reply
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
To get the field you have to use its internal name, not the display name. Make sure that 'myfield' is an internal name of your field. If so, what type of this field: text, multiline text, lookup etc?
-
- Posts: 6
- Joined: Mon Mar 11, 2013
thx for reply.
I'm using the internal name for the field.
The type of the filed is a dropdown list.
I'm using the internal name for the field.
The type of the filed is a dropdown list.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Also, you can not use js-framework in a display form or for the fields that are read only. What type of form do you use? Could you publish screenshot of your form?
-
- Posts: 6
- Joined: Mon Mar 11, 2013
Ok I see. I think my field is readonly. that's Why.
I gonna make some tests. I'll let you know.
I gonna make some tests. I'll let you know.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests