Skip to main content

Questions tagged [page-validation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

onChange event is not fired for lightning:input type="datetime" when clear Time field in LWC [duplicate]

I have an lwc lightning-input datetime field and a custom validation. It does not work when the I clear the time value out of it. This is similar to what's mentioned in this link. However, I am ...
SFDC Learner's user avatar
0 votes
1 answer
546 views

Lightning-edit-form submit only after custom code execution

I am creating LWC which will have both <lightning-record-edit-form> and <lightning-record-view-form> elements. I am toggling between these elements to edit and display the record. My code ...
Ruturaj Chothe's user avatar
0 votes
0 answers
233 views

Persist text validation error message?

Is it possible to persist a validation error message on a lightning component? For example, if you get a validation message of some kind on child A in an accordion, then collapse it and open child B, ...
trebleCode's user avatar
0 votes
1 answer
22 views

Scoring fields - No partial scoring can be entered in the section of fields

I have a section of scoring fields to enter score. Once a score is entered, it cant be editable by anyone else except Administrator. No Partial Scoring can be done on the fields. Once they edit one ...
Samuel Jackson's user avatar
2 votes
1 answer
1k views

Trigger validation error message added to apex pages

I have seen the other threads discussing this issue where the validation rule error messages from a Trigger are added to the VF pages <apex:pageMessages />. However, in my case, we have a custom ...
Randomizer's user avatar
0 votes
1 answer
2k views

Custom validity does not work when component is recovered in array

I am trying to create a dynamic form validation using the lightning:input component. According to the documentation of this component (https://developer.salesforce.com/docs/component-library/bundle/...
Igor Santana's user avatar
0 votes
0 answers
471 views

Salesforce Field Values Uniqueness

I have created a field which has to be unique so i have checked the unique checkbox while creating the field Its working well but the problem is that the page is redirecting to another blank page ...
david raj's user avatar
  • 623
3 votes
1 answer
538 views

Problem with field validation on a visualforce page with a controller

I have a custom object with a visualforce page, 2 controllers, and a custom button. The issue is if I use the "Save & New" custom button my validation for a field won't show the error on my page. ...
SkottyP's user avatar
  • 33
1 vote
1 answer
434 views

Required comments field in ProcessInstanceWorkitemWizardStageManager

How do I enforce the comments is required field before the user approve/reject the request? Below is my screen shot of the page.
Nick's user avatar
  • 7,030
2 votes
1 answer
2k views

I want to add validations to my Web-to-Lead Form

I have used several custom fields in my web to lead form ,and wanna add validation rules to my html form as well.How to achieve such validations.So far,what I 've tried using javascript is enclosed ...
Shobhit Saxena's user avatar
0 votes
2 answers
2k views

Validate that a URL begins with

I do not find anyway that you can validate a valid url when the user enters in the standard page so I come up with this validation and I need little help to fix it. I'm using BEGINS to see if the url ...
Nick's user avatar
  • 7,030
3 votes
1 answer
1k views

How to test for Visualforce required fields in Apex?

I have a VF page with some required fields on it. These fields are not marked as required in the data model, and my controller is not doing any validation on them either. How can I properly test this ...
Mossi's user avatar
  • 3,966