Custom buttom or HTML on Modal Edit Form

QuestionsCustom buttom or HTML on Modal Edit Form
pcattani asked 3 years ago

Hi Abu,

 

Is it possible to add a custom button, or additional HTML on the same row as the Submit and Cancel buttons on a Modal edit form?

 

What I am trying to accomplish is a ‘Submit without Validation’ option, either through a checkbox or with a custom button.  This would be in the row with ID = “Act_Buttons”.

 

Thanks!

2 Answers
Abu Ghufran Staff answered 3 years ago

You can see this demo code line 73-82

https://www.gridphp.com/demo/demos/editing/dialog-layout.phps

$opt[“edit_options”][“afterShowForm”] function callback will be called before opening edit form. Demo contains similar code for add / view dialog.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
pcattani answered 3 years ago

That’s exactly what I was looking for.  Thank you!

Your Answer

11 + 11 =

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?