how will i put "+", tried %2B but not working.

  • Profile Image
    margarette13
    Asked on April 12, 2018 at 12:46 PM

    how will i put "+", tried %2B but not working.



    This is a re-post of a comment on Prepopulating Fields to Your JotForm via URL Parameters

  • Profile Image
    Scott
    Answered on April 12, 2018 at 01:52 PM

    Hey Ann,

    The `+` sign and its encoded part `%2B` will always resolve to a `white space`.

    What are you trying to achieve with this? Let us help you.

  • Profile Image
    margarette13
    Answered on April 13, 2018 at 12:08 AM
    Hi,
    Thank you for your immediate response, I want to put the mobile number automatically. Please see below screenshot.
    [cid:image003.png@01D3D2AF.7A1DF610]
    I need to put plus for country code.
    ________________________________
    ...
  • Profile Image
    Scott
    Answered on April 13, 2018 at 05:21 AM

    Hey again,

    Unfortunately, we couldn't receive the screenshot. (How to upload screenshot)

    Here are to possible solutions for your scenario

    1- If it is applicable, you can use `00` instead of the plus sign.

    2- You can use an input mask on your phone field and prefix it with a hardcoded plus sign:

    1523611285Screen Shot 2018-04-13 at 12.1


  • Profile Image
    indigo4plus
    Answered on April 20, 2018 at 01:48 AM

    Hi,

    values of my form fields contain '+' signs and I can't replace them cause they lost its meaning, and they have to be prepopulated in my project. Can you fix this issue anyhow? Maybe with some custom URL decoding method?

  • Profile Image
    Scott
    Answered on April 20, 2018 at 02:56 AM

    Unfortunately, other then the solution I've offered to you in my previous answer, we cannot help you further.

    Since the offered solution solves this problem, we cannot manipulate the current workings of URL encoding/decoding processes.