55 Posts
Olek T.
8 years ago
2
Topic

Hi there!

Is there a way to clear the field before saving changes to form? Here's the situation: I use SD Field Concat to create article alias consisting of ID and title. If I check 'Process on edit', every time the article is modified, the alias gets longer (i.e after 3 savings: id-titleid-titleid-title). It would be great if there was a way to clear the existing alias field right before saving the article again.

So... is there any simple way to achieve it?

Get a VIP membership
178 Posts
Jeka
8 years ago
0
Level 1

Hi.

It happens beacuse in your form you have to fields with storage standart / article / alias.

If you want to constract alias from to fields, but have control over it you have to do next: 

Create field "alias text" with storage standart / article / aliastext 

Put id field in this form.

Create SD Conctat field with storage standart / article / alias and put "alias text" and id fields in SD concat. Process on edit - YES.

For SD concat field set variation to "value".

In this way you will have more control over alias because there is separete fields for title and alias and 

55 Posts
Olek T.
8 years ago
0
Level 1

Thank you, Jeka. In meanwhile I found out the other way: simply put SD Concat Field without any other field assigned to Alias column plus variation=value. Now processing on edit works like it should.

Get a VIP membership