Custom Dialog with add record button / button that can open another PHP page.

QuestionsCustom Dialog with add record button / button that can open another PHP page.
Tim Moore asked 1 year ago

I am looking for a way to add a button on the side or under a field in the add dialog box. if the “company” does not exist, i would like a button that could go to a custom page, and the user, could add a new customer/company. example.

View post on imgur.com

Please let me know how this could be done.

Thanks,

Tim

 

1 Answers
Abu answered 1 year ago

Hi,

You can refer this demo:

https://www.gridphp.com/demo/demos/appearance/dropdown-add-lookup.php

And it’s code: https://www.gridphp.com/demo/demos/appearance/dropdown-add-lookup.phps

You can extract the code to have button beside field and as onclick event function.

This update is on the blog as well.

Lookup Item Addition in Runtime

Your Answer

4 + 5 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?