Menu

#4839 Can't pass text arguments with ":" in custom commands, can't be saved as text field defaults

1.820
open
nobody
5
2016-10-26
2016-10-25
mohsh86
No

Can't pass text arguments with colon ":" in custom commands, and can't be saved as text field defaults.

enabling option "Quote" won't help

Discussion

  • Jamie Cameron

    Jamie Cameron - 2016-10-26

    Do you mean the value of the field cannot contain ":" , or the name cannot contain ":" ?

     
  • mohsh86

    mohsh86 - 2016-10-26

    to be more specific, the default value of the text field argument (that can be set when editing the custom commands), can't set with a value having a colon ":", when doing so, the field description get strange charachters and the default value will have the colon removed.

    as for passing the argument, it was a mistake that i couldn't handle on my script but i got it fixed.

    to summarize: field description and actual value passed can have colon, just the default value of the field won't

     
  • mohsh86

    mohsh86 - 2016-10-26

    for exmaple

    checking the .cmd file
    BALANCE_EXPIRATION_VAL:0:Exp Date:0,0:Credit Exp: "actual text before exp" date

    in this caes, the defualt field value "Exp Date" can't have a colon ":" in it, otherwise it would shift whats after it to the field description

     
    • Jamie Cameron

      Jamie Cameron - 2016-10-27

      This isn't easy to fix with the current format, but I can at least add a check to prevent use of : in that field.

       

Log in to post a comment.