Developer Forum »
Max lengt in text fields
8 posts

Hi,

I would like to be able to set a maximum limit on characters in a text field. I have edited the "max lenght" field in the "LongStringPropertyClass" as seen in the attaced image. When running the solution and entering relatude I im still able to insert more characters than expected. I tried with the "ShortStringPropertyClass" as well and experience the same. Should this be editeble here in the content.defintion or should it be possible to edit within the waf_custom-file for the module where we cants to costumice the text input limits?

I have seen that for the "ShortStringPropertyClass" it is not possible to insert more characters than the default value.

120 posts

Hi, ok I see. We will look into this asap. 

120 posts

This was missing in the new UI, but has been added in the latest release:

https://www.nuget.org/packages/Relatude.Server/5.0.2116

8 posts

Thanks Ole! 

I tried to update to the lates version now. After this I have problems with loging in to relatude. I added an image of how it looks when trying to log in to relatude. This is done localy. When I tried to log in on another branch with the old version it worked as normal.

Attachments
120 posts

Hi, did you regenerate the code before you compiled it?

(Save once in the definition plugin in VS )

 

8 posts

Yes, I have done that. Tried it again now to be sure and it did not maeke any different.

120 posts

Do you have any error messages in the console of the browser? ( using F12 etc) 

Or do you see some 404 errors in the network tab?

 

8 posts

Yes, I got 500 for the POST method for Request URL [my page]/wafapi/engine/Definitions

I got time for a call if it is easier to look at it on a shared screen.

1