Get ready for BLACK FRIDAY shopping starting in

HTML5 Form Validator Support Product Page

Solved

Server validation not saving in Server Connect

Reported 29 Sep 2016 09:37:26
1
has this problem
29 Sep 2016 09:37:26 David Woolley posted:
I've started adding server & client validation to all my forms.

So I'm setting up the server validation first.

Global Input Validation:
Export validations to form
Checked Auto Export on Action Save

This should automatically create Client Validation on the relevant form fields.

However the Server Action does not SAVE, as soon as I add the validation to the $_POST variables under GLOBALS.

Server Connect is latest version 1.3.2
DW CS6
W10

Replies

Replied 29 Sep 2016 11:40:13
29 Sep 2016 11:40:13 Teodor Kuduschiev replied:
Hello David,
The server validation is exported to the form, when you click SAVE in the server action panel, in order to save your action file.
Replied 29 Sep 2016 11:50:24
29 Sep 2016 11:50:24 David Woolley replied:
If 'Auto Export on Action Save' is unchecked, then it does save the action.
As soon as I check this box, it won't save.

If I click 'Export validations to Form', client validations are not created.
Replied 29 Sep 2016 11:52:47
29 Sep 2016 11:52:47 Teodor Kuduschiev replied:
Do you mean that when you click SAVE and the Auto Export on Action Save is enabled, your action file is not saved?
Replied 29 Sep 2016 11:54:13
29 Sep 2016 11:54:13 David Woolley replied:
Yes
Replied 29 Sep 2016 12:03:56
29 Sep 2016 12:03:56 Teodor Kuduschiev replied:
Strange, this seems to be related only to old DW versions like CS6 / works fine on CC+. We will check if this can be fixed in the upcoming updates.
Replied 29 Sep 2016 12:12:35
29 Sep 2016 12:12:35 David Woolley replied:
Thanks Teodor - I'll wait for the fix before adding any more validations.
In the meantime I suppose it's OK to add the client & server validations separately?
Just double the amount of work of course ...
Replied 29 Sep 2016 12:15:07
29 Sep 2016 12:15:07 Teodor Kuduschiev replied:
Well you can add the clientside validation and then just Import form into the server connect globals ... it imports the validations also.
Replied 29 Sep 2016 13:03:19
29 Sep 2016 13:03:19 David Woolley replied:
Of course - thanks Teodor
Replied 29 Sep 2016 13:37:38
29 Sep 2016 13:37:38 David Woolley replied:
I've found another problem with the Validate Data in Server Connect.
I want to check if a record exists in the database before inserting, but the Validate Data dialog box does not have any content - just a grey box.

Could this be a DW CS6 problem as well?

Dave
Replied 29 Sep 2016 14:37:11
29 Sep 2016 14:37:11 Teodor Kuduschiev replied:
Yes, most probably again CS6 related. We will check this and then i will send you a fix.
Replied 18 Oct 2016 19:03:21
18 Oct 2016 19:03:21 David Woolley replied:
Hi Teodor - have you found a fix for this problem yet?
Replied 18 Oct 2016 19:18:03
18 Oct 2016 19:18:03 Teodor Kuduschiev replied:
An update which fixes old DW versions (CS6) issues will be released in a few days.
Replied 01 Nov 2016 12:16:58
01 Nov 2016 12:16:58 David Woolley replied:
Hi Teodor - any news about this Validate Data fix?
Replied 03 Nov 2016 07:41:37
03 Nov 2016 07:41:37 Teodor Kuduschiev replied:
Hello,
The update is coming on Wednesday.
Replied 10 Nov 2016 09:15:36
10 Nov 2016 09:15:36 Teodor Kuduschiev replied:
The update fixing this issue has just been released. Please update your extensions - DMXzone Server Connect and HTML5 Form Validator.
Replied 10 Nov 2016 12:22:35
10 Nov 2016 12:22:35 David Woolley replied:
Teodor - there's still a problem with the Validate Data action.
I can add the name, expression, linked field & validation rule, but when I save this, then save the action steps, then click on the'Validate Options' button again, it loses the name & expression and replaces the name with 'validate_1'. Clears the expression entry.

Also get a 'Copy Dependent Files' popup repeatedly for:
dmxConnectLib/lib/core/Parser.php

I've closed DW CS6 then reopened, but does not fix this issue.
Dave
Replied 10 Nov 2016 13:55:07
10 Nov 2016 13:55:07 Teodor Kuduschiev replied:
I will check this ...
Replied 16 Nov 2016 08:04:59
16 Nov 2016 08:04:59 David Woolley replied:
Hi Teodor - any luck with this Validate Data issue?

The Parser.php file is updated every time I open a page that uses Server Connect. File date & time is set to current. The 'Copy Dependent Files' popup appears each time.
Replied 16 Nov 2016 08:40:29
16 Nov 2016 08:40:29 Teodor Kuduschiev replied:
Please update server connect and parser.php issue will be fixed. An update for the validator which fixes this will be released in the upcoming few days.
Replied 16 Nov 2016 09:37:33
16 Nov 2016 09:37:33 David Woolley replied:
Thanks Teodor - I reinstalled Server Connect 1.3.4
No Copy Dependent Files message appearing now.
Cheers
Dave
Replied 27 Nov 2016 21:57:05
27 Nov 2016 21:57:05 Jimmy Ramirez replied:
Has the update to the validator been released that fixes the issue?
Replied 30 Nov 2016 14:10:39
30 Nov 2016 14:10:39 Teodor Kuduschiev replied:
Hi David, Jimmy,
Yes, this has been fixed in today's update. Please update your extension.
Replied 28 Feb 2017 13:31:19
28 Feb 2017 13:31:19 Dave Smith replied:
Hi Teodor,
Unfortunately I am still having the same problem with the Server Side Validator not saving the Expression. When I open the Validate Data Action it clears the Expressions entirely.

Any help appreciated!

Thanks in advance.
Replied 28 Feb 2017 13:46:28
28 Feb 2017 13:46:28 Dave Smith replied:
If I paste the Expression in it saves, if I use the picker it does not...

So for now I have got it to work but there must be some kind of bug..?
Replied 28 Feb 2017 13:46:43
28 Feb 2017 13:46:43 Teodor Kuduschiev replied:
Hi Dave,
can you explain step by step when this happens exactly? And what DW version are you using?

Reply to this topic