简体   繁体   中英

Grocery CRUD: Adding an explanatory note to a field

When clicking add or edit in a Grocery Crud grid, I need to explain what the purpose of a certain field is to assist the user in completing the form by putting some custom text next to the field called "Active" that is a select box, so that it looks like this:

Active? [Select active] Note: select Yes to ensure that your event is activated.

How can I do this?

Unfortunately, I was forced to do a bit of a hack, as the client urgently needed this done. I have done it by using jQuery to append a string to the select box on document.ready() . If there is a better way, I will gladly adapt, and accept that answer instead, but for now, the above solution works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM