Automate

 View Only
  • 1.  Evolve Attachment Element properties

    Posted 22 hours ago
    Edited by Renette Nienaber 16 hours ago

    How do I set a rule to influence the minimum value of an Evolve attachment element based on the value of another field.

    I would like to set the minimum to 1 to make an attachment mandatory when another field value = 'X".



    ------------------------------
    Renette Nienaber
    Mrd
    VIVO ENERGY SOUTH AFRICA (PTY) LTD
    ------------------------------

    found the following but link no longer active. kindly post active link to the solution.

    Posted 04-13-2024 08:10

    Hi Alexendar,

    use below mentioned javascript code to update maximum or minimum number of attachments on your form :

    SVFormInternalAttachmentValidations['my:Attachment_1'].minimum 

    Notice the binding given to SVFormInternalAttachmentValidations is create as 'my:Name_Of_Attachment_Control_on_form'

    using this you can access all three properties of attachment control i.e : minimum, maximum and message.

    I have attached a test solution over the link : https://nowtransfer.de/21153bd289aa

    Hope this  helps.

    Regards



    ------------------------------
    Hammad Naeem
    Precisely Software Inc.
    ------------------------------



  • 2.  RE: Evolve Attachment Element properties

    Employee
    Posted 15 hours ago

    Hi Renette,

    Solution is available on below link, when you  enter X in Field_4 it will set Attachment control mandatory and require atleast one attachment, else it will set it to 0, refer rule applied on Field_4.

    https://nowtransfer.de/21826f8fa5ff

    hope this helps.

    Regards



    ------------------------------
    Hammad Naeem
    *Precisely Software Inc.
    ------------------------------



  • 3.  RE: Evolve Attachment Element properties

    Posted 15 hours ago
    Edited by Renette Nienaber 15 hours ago

    Magic ! Thank you so much for the prompt support.



    ------------------------------
    Renette Nienaber
    Mrd
    VIVO ENERGY SOUTH AFRICA (PTY) LTD
    ------------------------------