Note that there are some explanatory texts on larger screens.

plurals
  1. POApex Oracle Javascript validation
    primarykey
    data
    text
    <p>I am trying to Incorporate a <code>javascript validation</code> on an <code>application in apex</code>. Basically, what should happen is that the validation should run if i click on a <code>textfield</code> or another <code>Item type</code>. I want to the validation to runs <code>without</code> me having to click on a submit or save button. </p> <p><em>For an example if I was filling out a form, I want to validation straight after the user click from <code>"FirstName"</code> field to <code>"LastName"</code> and each individual field will have it own validation</em>.</p> <p>The reason why I want to do this is because I have an application which takes about 15-30 minutes to fill out and sometimes after you spend all those mins filling it out and click on save or create. you get a long list of validation errors. To avoid this I want to use javascript/Ajax to do a validation which validate individual fields straight after you click from one field to another.</p> <p>I have a feeling it can be done but i dont know how. Please point me on the right direction. </p> <p><strong>EDITED</strong></p> <p>for an example I have this <code>validations</code> </p> <pre><code>begin if length(:p1_subject) &gt;3 then return false; else return true; end if; end; </code></pre> <p>This validation will only run when i click on the <code>create button</code> but I want it to work everything you click off and on the <code>p1_subject</code> field.</p> <p>Hope I am making sense.</p> <p>Thank you very much.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload