Thursday, 17 December 2015

[ERPNext] display value in html field

html field will be vaery useful if you want to show information to user.
This information is not stored into table, this is for only display purpose

frappe.ui.form.on("Student", "onload", function(frm,doctype,name) {

    $(cur_frm.fields_dict.my_html.wrapper).html("Student Info");

Here myhtml is html field added to Student doctype
Onload form, html field will be show "Student Info"

1 comment:

  1. workshops from traditional lecture style to self-paced style, using the KA online courses and coaching tools.psd to html