Hi Everyone!
I'm developing in xCP 2.0. I need to check a value input from user with the information in the repository. The system should give a error message if this exists this value. Is there any form to do?
Thanks everyone!
Damian
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
HI Damian,
you can achieve form validation in different ways ( depending on how much effort you ready to spend )
create a validation statless process that has an input the lenght of the field and that run on input value change. ( this option in not very recommanded since you going to fire a service that may be consuming for each input value change)
other options can be found such as a full custom widget with validation service ( custom service you have to code in your web application ) but it is not a valid extension point...
maybe im missing simpler options but hope this helps
Otman
Thanks Otman! I'm going to do the first option like you has said me. Maybe I'm going to do the other option in other time. Because I have had a delayed on the project.
One question, How much stateless process are you recommend at the moment to load one widget?
Thanks you very much!!!!!!!
HI,
i don't understand your last question. can you be more specific maybe by giving an example of your case!
good luck with the delayed project
Hi Otman
Sorry my English is not very good. I want to know if exists one limit on the number of process that I can add on a page.
Thank you again!
Hi,
your english is perfect i'm the one getting rusty
i dont know a documented limit of the number of Dataservice that you can add to your page but you should be very carefull specially if a big part of those data service are on page load.
this may cause you page to take long time to load ( this depends on browers/network/application Server etc...)
so first check in your technical specs if users put a constraint on the duration of page load and also the amount of data you are going to query ( now and in the future ) to mesure time load of your services.
Thanks you very much!