Add Validation to Mashup

 2 Replies
 1 Subscribed to this topic
 5 Subscribed to this forum
Sort:
Author
Messages
shahzad
Basic Member
Posts: 14
Basic Member

     

    Hi all,

     

    I am at present working on designing a Mashup  with API MHS200MI. what am looking for is whether a validation can be added to the Mashup. if 'Yes" how do you go about doing adding a validation to the Mashup?

    Your response will be highly appreciated in this regard.

     

    Thanks in Advance! 

    Karin
    Veteran Member
    Posts: 57
    Veteran Member
      Hi,

      The answer is no, and yes.

      You can't perform any logic in the validation to make sure that a value is a valid Order nr for example. The way to have some kind of validation is to make sure that when there is a selection between a fixed set of values you use a combo box with only valid values, when the max length of a field is 40 you have set max length on the input box. When the field is a numeric you use the NumbericTextBox to allow only numeric values, if you need a date you use the date picker etc.

      WPF also has validation templates that might be of interest but that is only if you have access to the Smart Office SDK so that you can build your own components or validation rules that you can apply in the XAML. I don't think we have common validations rules because we don't use those much.
      Regards Karin http://smartofficeblog.com
      shahzad
      Basic Member
      Posts: 14
      Basic Member

        Hi Karin,

         

        Hope your keeping well.

        appreciated with your elaboration in this regard.

         

        Thank You.