How to add a text in a edit form

QuestionsHow to add a text in a edit form
Javier Lopez asked 10 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 10 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 10 years ago

Ok, Works fine!
Thanks again!

Your Answer

12 + 13 =

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?