function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Naresh Kumar Mohan ThirukkovaluruNaresh Kumar Mohan Thirukkovaluru 

how to change the echo character in password-inputsecret?

<apex:page >
    <apex:form >
        <apex:pageBlock tabStyle="Doctor__c" title="YAHOO! M@iL" >
            <apex:pageBlockSection TItle="Sign In" >
                <apex:pageBlockSectionItem > Username<apex:inputText />
                    </apex:pageBlockSectionItem><br/>
                <apex:pageBlockSectionItem > Password<apex:inputSecret />
            </apex:pageBlockSectionItem><br/>
        <apex:pageBlockSectionItem > <apex:inputCheckbox /> Keep me logged in.
    </apex:pageBlockSectionItem>
</apex:pageBlockSection>
      <apex:commandButton value="SignIn"/><br/><br/>
          <apex:commandLink value="Forgot Passowrd"/>
        </apex:pageBlock>
    </apex:form>
</apex:page>
ShashForceShashForce
Hi,

I'm afraid Visualforce doesn't have an option to change the echo character for the apex:inputsecret component.

Thanks,
Shashank
Naresh Kumar Mohan ThirukkovaluruNaresh Kumar Mohan Thirukkovaluru
hi i have tried a lot but faild to get square root of number. how to write code for it? plz let me knw   Thanks & Regards Naresh Kumar 09885884613
ShashForceShashForce
To get squareroot, you can use the math.sqrt() method. Something like this:

system.debug(math.sqrt(16));

The result will be 4.

If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.

Thanks,
Shashank