Page 1 of 1

Use modal dialog for lookup

Posted: Mon Aug 06, 2018 3:37 pm
by plone

I'm trying to insert a value, after selecting the value in the windows modal dialog, this does not appear.
Any solution


Re: Use modal dialog for lookup

Posted: Tue Aug 07, 2018 10:52 am
by arbei

Cannot simulate your problem in v2019. Which version are you using?

Post more info, e.g. table schema of the main and the lookup table, and Edit Tag settings of the lookup field.


Re: Use modal dialog for lookup

Posted: Wed Aug 08, 2018 1:36 am
by plone

Version: 2019
Table schema: I followed the link example (https://www.hkvstore.com/phpmaker/doc/dynamicselect.htm), creating two tables: cars and trademarks.
I setting lookup table and Edit Tag as in the example.
After selecting the value from the modal dialog form and pressing the select button, the value does not appear in carsadd.php form.


Re: Use modal dialog for lookup

Posted: Mon Aug 13, 2018 11:07 pm
by plone

I solved!
in lookup table-->Child lookup fields, do not leave the field "edit tag" empty,
I selected the "select" value and now it works.


Re: Use modal dialog for lookup

Posted: Mon Oct 08, 2018 1:14 am
by joubertjg

Hi

In modal dialog for lookup table when you open the modal dialog, search for a value and click on select the modal dialog closes but the selected value is not return to the lookup field.

Tested using auto fill as well.

When selecting the value in modal popup it closes the popup fills the auto fill fields but no value is displayed in the field that the modal dialog is linke

Thank you


Re: Use modal dialog for lookup

Posted: Mon Oct 08, 2018 9:36 am
by Webmaster

Make sure that you are using 2019.0.3. If not sure, download, uninstall and install again.


Re: Use modal dialog for lookup

Posted: Mon Oct 08, 2018 12:46 pm
by joubertjg

Hi

Using 2019.0.3.

Uninstalled and reinstalled as suggested when mail received of update.

Deleted all folders after uninstall and be i installed again.

Template cache deleted and generated again.

Template updates when i start the application thus newest template loaded.

  1. On list page set extended search field with modal lookup.
  2. Use modal lookup to select a value - nothing visible in field after select.
  3. Click on the search button and it does the search on the value selected and then displays the value with the result.
  4. Field is populated with selected value but does not show.

On insert and update page it does the same.

Seems the problem is with the display of the value after select

Thank you


Re: Use modal dialog for lookup

Posted: Mon Oct 08, 2018 12:52 pm
by Webmaster

If you are a registered user, you can send your project files to support for testing:
http://www.hkvstore.com/phpmaker/support.asp