Support » Plugin: Mortgage Calculator » percent

  • Resolved mausoftware


    would it be possible to set default percent (%) and/or set field read-only (user can’t change it)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Welcome to Customer Support.

    This is Sungraiz and from now on, I’ll be at your assistance.

    You can do it by adding the following code in JS file.

    window.addEventListener('DOMContentLoaded', (event) => {
        let interest = document.getElementById('mc-interest-rate');
        if (typeof (interest) != 'undefined' && interest != null) {
            interest.setAttribute('value', '10');
            interest.setAttribute('disabled', true);

    Let me know if there is anything else i can do for you. I’ll be happy to assist.


    Thread Starter mausoftware


    thanks. I’m not sure where should I put this. in which JS file?

    Thread Starter mausoftware


    ah ok, solved.
    i put in my

    Wishlist: could be better add separate section in setting plugin


    I’m glad I was able to assist you and we so appreciate your business.

    We would love it if you shared this experience as a review of this plugin.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘percent’ is closed to new replies.