I want to make a confirm emailaddress like confirm password in liferay form the confirm password uses aui validator equals to, to campare both fields of password, my doubt is: Can I use this aui:validator to validate a non-password field?
aui validator equalsTo is only for password?
1k Views Asked by Christian P. At
2
There are 2 best solutions below
0
TheVillageIdiot
On
Don't think this will make any difference. Compare (equalTo) validator will only compare values of two given controls. Like:
<aui:input name="email" value='' label="Email">
<aui:validator name="email" />
</aui:input>
<aui:input name="email2" value='' label="Confirm Email">
<aui:validator name="equalTo">'#<portlet:namespace />email'</aui:validator>
</aui:input>
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in LIFERAY
- how to bypass the necessity of having to have email address firstname and lastname in liferay to import authenticating users
- How to resolve java.lang.StringIndexOutOfBoundsException: String index out of range: -325 while deploying Liferay Ext plugin 6.1
- Avoid log trace of external framework J2EE
- Unit testing with Liferay 6.2
- Customize Liferay search portlet
- Build Liferay web service with optional parameter
- How to start with liferay
- Embedding Microsoft Power BI into Liferay
- Remove " Automatically Extracted Metadata and Version History " from Liferay portlet
- Get list of users in liferay
- How to pass HTTP request to Web-Service
- How to land users to different page as per their roles
- Incorrect liferay-plugins dependency
- How to pass data from page to Portlet class through AJAX call?
- EL Exception on JSP when passing arguments to liferay-ui:message
Related Questions in LIFERAY-6
- How to resolve java.lang.StringIndexOutOfBoundsException: String index out of range: -325 while deploying Liferay Ext plugin 6.1
- liferay unasign user to delete organizations
- Customize Liferay search portlet
- Embedding Microsoft Power BI into Liferay
- How to pass HTTP request to Web-Service
- how to change the icon of default porlet language in liferay 6.2
- Sharepoint 2010 CMIS Integration
- Link to page not working liferay 6.2 web content template
- runtime added portlets do not rendered when parent portlet has use-default-template value true
- Include ftl file in ext plugin
- What are the steps to Integrate the Alloy Editor 3.0 and bootstrap 3.2 in liferay 6.2?
- Liferay 6.2 deployment fails with missing/unavailable dependencies on JBoss
- Changing order of two divs with CKEditors
- Template on Web content structure
- Issue in adding custom method in EXT
Related Questions in LIFERAY-AUI
- How can I change the zIndex attribute of aui-datepicker in Liferay Portlet 6.2
- How to make a liferay navigation portlet mobile friendly?
- AUIScript Val().length is Undefined
- multiple navigation menus with liferay theme-settings
- How does Object inside if condition works?
- Liferay Search Container Pagination in Liferay MVC
- Liferay Documents and Media ( Media Gallery hook) sort latest uploaded folder first
- Liferay JavaScript Function is not defined
- aui validator equalsTo is only for password?
- How do I activate a YUI Datepicker only by a seperate Icon, not by the referenced input field?
- How do I trigger a onclick javascript of a link with AUI?
- where liferay site will store in which table details will fetch?
- How to make AUI validation apply only when a check box is selected?
- How to restrict other user group members to view the Documents
- How to create a sub-organization in Liferay 6.1
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
we can use aui validator to validate any thing which needs to be validated. no connection with password field.
You can also include your custom validations like :