Send Post: keep the field name in Uppercase value when being posted

  • smarch678
    Asked on May 23, 2017 at 3:53 PM

    How can i Keep Uppercase input names when using the form Post?  What I am posting to is case sensitive for the url string that gets created so say TYPE needs to stay TYPE, Currently its being make lowercase as type

  • Jan
    Replied on May 23, 2017 at 5:35 PM

    Using CSS, you can use the "text-transform" selector in the form textboxes. However, this only works when the user is filling up the form visually. It means that once it is submitted, it will still show in lowercase on the Submissions page.

    The user needs to enter the actual case in the field. The letter case entered in the field will be the value to appear on the Submissions page.

    Send Post: keep the field name in Uppercase value when being posted Image 1 Screenshot 30

    Result:

    Send Post: keep the field name in Uppercase value when being posted Image 2 Screenshot 41

    Hope that helps. Thank you.

  • smarch678
    Replied on May 24, 2017 at 10:20 AM

    Thats not exactly what im looking for.  In the attached image the Unique Name is not staying they way it is typed.  Which_best_describes_you is being transformed to all lower case which_best_describes_you, The server that this needs to post to is case sensitive so it is not seeing any field that comes in. 

    Send Post: keep the field name in Uppercase value when being posted Image 1 Screenshot 20

  • Welvin Support Team Lead
    Replied on May 24, 2017 at 12:39 PM

    You should be able to change the name. I just tried it on your form, the name is saved the way how you want it. See this screenshot:

    Send Post: keep the field name in Uppercase value when being posted Image 1 Screenshot 20

    I tried this on my form too, refresh the form builder twice, the form builder keeps the name of the field. Can you try it again? Or can you guide us how to replicate it? 

  • smarch678
    Replied on May 24, 2017 at 1:01 PM

    Yes That part works.

     Its when the form Submits from Jotform to the endpoint url.

    Under the Form settings I'm sending POST data to thank you page.

    Then I am Redirecting to an external link.

     

    As you can see below all the names  become lowercase 

    Which_best_describes_you -> becomes-> which_best_describes_you
    TYPE becomes type
    SRC becomes src

    and so on. http://[removed].[removed]/genericPostlead.php ?submission_id=3714540258118246625 &formID=71086145506151 &ip=71.87.87.118 &which_best_describes_you=Veteran &loan_type=Purchase &est_home_value=$200,000 - $300,000 &city=DeForest &state=Wisconsin &time_line=2-4 months &credit_status=640 - 700 &first_name=MyTestEmail &last_name=MyTesingEmail &preferred_method_of_contact=Email &phone[0]=6088465444 &email=myemailaddresstoday@gmail.com &type=27 &src=test &landing_page=JotForm &formid=71086145506151
  • Welvin Support Team Lead
    Replied on May 24, 2017 at 2:25 PM

    Thank you for the additional information. That make sense now. However, I don't think our developers will consider changing this knowing that most end point URLs can be hardcoded to match the names. Can't you do that with your current end point URL? Let us know and I'll be happy to send this thread to our developers.

  • smarch678
    Replied on May 24, 2017 at 4:03 PM

    Unfortunately we cant change the end point on the system.  It has to be case sensitive. 

  • Welvin Support Team Lead
    Replied on May 24, 2017 at 5:30 PM

    Let me create a ticket about it on this thread. I can't promise you anything, but if there are updates, you should know it through this thread.

    For the meantime, I think you should first get the form data into a separate PHP file. In the PHP file, add a script that would convert this texts or names to uppercase value before sending it to your final thank you page where the endpoint codes are being posted.

    PHP has this strtoupper() Function to convert text into uppercase: 

    https://www.w3schools.com/php/func_string_strtoupper.asp