How to add a text in a edit form

QuestionsHow to add a text in a edit form
Javier Lopez asked 4 years ago

Hi.
how can i add text (literal) in a edit form, for example, i need to put "Danger if you change these values" in the bottom of the form.

Thanks!

2 Answers
Abu Ghufran answered 4 years ago

You can set:
$opt["add_options"]["bottominfo"] = "<strong>Danger</strong> if you change these values";
$g->set_options($opts);

Refer demos/editing/dialog-layout.php

Javier Lopez answered 4 years ago

Ok, Works fine!
Thanks again!

Your Answer

1 + 7 =

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

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

Let us improve this post!