Is it possible to open a new page to choose a customer for field input in add or edit dialog form

QuestionsIs it possible to open a new page to choose a customer for field input in add or edit dialog form
toki asked 6 years ago

Hi

Is it possible to open a a new page with fulltext search to choose a customer for field input in add or edit dialog form instead of dropdown list.

Regards…

4 Answers
Abu Ghufran answered 6 years ago

You can use autocomplete feature to use fulltext searching in some field.
Check demo/integration/autocomplete.php

Currently, external page linking demo is not available, but it seems doable too.

toki answered 6 years ago

Abu,

Yes, It is very nice to use autocomplete feature with fulltext searching in some field. I have just started to use it.

Why I asked this question to you ; If it can be possible that if I can open Customer.php (external customers page) in edit and add dialog form , If customer does not exits in customers than I can easly add a new customer just clicking add button of customer page. And then return first page and choose new customer in related field input.

Regards…

Abu Ghufran answered 6 years ago

What i can recommend in such case is, make a custom toolbar button (refer demo/appearence/toolbar-button.php) and disable default edit option of grid.

In that custom toolbar button, you can open a modal window (demo/integration/fancy-box.php) with the URL of your new page.
I've not tested this scenario but i hope it help.

toki answered 6 years ago

Abu,

Yes, I will refer and try to use (demo/appearence/toolbar-button.php) and
(demo/integration/fancy-box.php).

Thank you.

Your Answer

1 + 18 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!