How to make a string field multiline in mobile application

Hello,

 

I am trying to view Notes field as multi-line text in Activity section in mobile application, but it is appearing in single line as a result of which, the long texts are not visible properly.

 

 

This field is multi-line in web application but I need this multi-line in mobile application also.

 

Please suggest me a way to make this field multi-line.

 

Regards,

Malay

Like 0

Like

6 comments
Best reply

Hello Malay,

I have an article covering how to do this in mobile here https://customerfx.com/article/adding-a-multiline-text-field-in-the-cre…

Note, the code is added to a module in the mobile client, you can see how to create that here https://customerfx.com/article/creating-modules-for-the-creatio-mobile-…

Ryan

Hello Malay,

I have an article covering how to do this in mobile here https://customerfx.com/article/adding-a-multiline-text-field-in-the-cre…

Note, the code is added to a module in the mobile client, you can see how to create that here https://customerfx.com/article/creating-modules-for-the-creatio-mobile-…

Ryan

Thanks Ryan, It works.

 

I just have another query that how to put a placeholder in the http link field in mobile so that it does not show the full real link, instead of this it shows some meaningful string.

 

For example, for "www.google.com", I want to show the link as "Google Search".

 

And also, how to make read only field text color as black. (The address field in above screenshot of mobile is read only but it is appearing as grey text).

 

It would be helpful if this can be done.

 

Thank you in advance.

 

Regards,

Malay

Malay Garg,

There is a way to change the color of read-only fields. You can do this using the utility method Terrasoft.util.writeStyles.

 

By default the style of the disabled fields looks something like this:

 

Terrasoft.util.writeStyles (

 

.x-field.x-item-disabled input,

.x-field.x-item-disabled textarea {

color: rgba(0, 0, 0, 0.26);

-webkit-text-fill-color: rgba(0, 0, 0, 0.26);

-webkit-opacity: 1;

}

 

);

 

So you will need to change the alpha value of rgba from 0.26 to 1.

 

You can do the changes in the existing schema in LESS like in the desktop Creatio. You can also do this in the existing schema declared in the manifest in the CustomSchemas section. Or you can create a new schema and declare it in the CustomSchemas section.

 

 

As for the question about a placeholder in the http link field. As far as I understand you want to use hyperlinks in some fields. Could you please explain where you want to put them? Which fields exactly? I hope I understood you correctly.

 

 

Best regards,

Max.

Max,

 

I will try this.

Yes, I want to put the placeholder for the following string field which is a link:

 

Regards,

Malay

Malay Garg,

 

Unfortunately, there is no out of the box solution to do this. It can theoretically be implemented via development but you will have to contact your manager about it.

 

Best regards,

Max.

Max,

 

Thanks for confirming.

 

The previous code I have tried putting in the LESS in a module after changing the value 0.26 to 1 and included module in activity section page extensions in workplace manifest . Still it does not make the field color black.

 

I have restarted the application pool and synchronized also but still it does not work.

 

regards,

Malay

Show all comments