Problem with fd.field('Lookup').control('getSelectedText') in Edit-Form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Mapleleaf
Posts: 29
Joined: Tue Oct 25, 2016

06 Dec 2018

Hi,
I use this Lookup-Funktion in a Form to get the shown text of a lookup-field:

fd.field('Lookup').control('getSelectedText');

This works fine in the display-form. In the Edit Form it only shows the ID of the lookup.

I tried fd.field('Lookup').value(); as well. But this shows the ID in every form.

Is there an other possibility for Edit-Form?

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

06 Dec 2018

Hi!

What version of Sharepoint and Forms Designer do you have?

It's very strange indeed, I can't reproduce your issue on the ordinary Lookup field.

Do you use an ordinary Lookup field or a Cross-Site Lookup field?

Mapleleaf
Posts: 29
Joined: Tue Oct 25, 2016

10 Dec 2018

SP 2013, FD 3.1.2

Ordinary lookup-field

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

12 Dec 2018

Hi!

It's quite strange indeed, I can't reproduce your issue.

Please try to create another Lookup on another form and get the shown text from it. Does it work or not? We should locate a problem.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests