Use modal dialog for lookup

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
plone
User
Posts: 4

Use modal dialog for lookup

Post by plone »

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


arbei
User
Posts: 9286

Post 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.


plone
User
Posts: 4

Post 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.


plone
User
Posts: 4

Post 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.


joubertjg
User
Posts: 66

Post 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


Webmaster
User
Posts: 9425

Post by Webmaster »

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


joubertjg
User
Posts: 66

Post 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


Webmaster
User
Posts: 9425

Post 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


Post Reply