to add an extra button and and to clear all field inputs in add or edit dialog forms

Questionsto add an extra button and and to clear all field inputs in add or edit dialog forms
toki asked 12 years ago

Hi,

1.Is it possible to add an extra button in add or edit dialog forms?
2.can it be possible to clear all field inputs ?

Regards…

2 Answers
Abu Ghufran answered 12 years ago

It is not currently supported. I'm checking it for feasibility.
Will update again once found some solution.

Abu Ghufran answered 11 years ago

Hello,

1) You can check faq query for custom button – How to add custom buttons in add/edit dialogs?

How-Tos & FAQs

2) By above code, you can add clear button, and clear fields by setting them to '';
e.g.
$("#invdate").val("");
$("#gender").val("");

Your Answer

18 + 18 =

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?