Skip to content
Mark Domansky edited this page May 29, 2019 · 5 revisions

Tips

This is general tips on how to do things that WebJEA doesn't currently support.

Adding a password field.

Sometimes you want to add a password field. You only have to add a small bit to startup.js

startup.js

Replace FieldName with the name of the variable in both places. If you use something generic like $Password, just replace FieldName with Password and you can use it in multiple scripts easily. If you want to support multiple fields

$(function() {
   $('#psparam_FieldName').clone().attr('type','password').insertAfter('#psparam_FieldName').prev().remove();
});

Clone this wiki locally