List Validation

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Richard
Posts: 2
Joined: Tue Jun 21, 2016

22 Jun 2016

I have created a SpForm Edit Screen on a SharePoint List, nothing complicated. I have applied a very simply List Validation (DateCol1 < DateCol2 "error") but it does not appear to work.

Does the List Validation not work in SPFORMS or is this something I've done wrong

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

22 Jun 2016

Hi Richard,

The validation works fine for me:

Image

Here is the condition:

Image

Please, note that the validation works on the server side, so you need to submit the form. Alternatively you can use our JS-framework and implement the validation in the client side. Here is the sample:
http://spform.com/office-365/cond ... ynamically
http://spform.com/forms-designer- ... ime-fields

Richard
Posts: 2
Joined: Tue Jun 21, 2016

23 Jun 2016

Slightly confused here. The Form opens fine I click SAVE (no code behind this just simple selection on form designer) but the list validation dos not kick in.

Doesn't the validation work different for EDITED data AND also I have disabled quick Edit on the List as I want to force everyone to edit using the SPFORM not the list.

Cheers

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

24 Jun 2016

Does my sample above work for you? Possibly, you have specified incorrect validation condition.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests