- smarch678Asked on May 23, 2017 at 03: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
- JotForm SupportJanAnswered on May 23, 2017 at 05: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.
Hope that helps. Thank you.
- smarch678Answered 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.
- JotForm SupportWelvinAnswered 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:
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?
- smarch678Answered on May 24, 2017 at 01: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 lowercaseWhich_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=18.104.22.168 &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=6088465444 &firstname.lastname@example.org &type=27 &src=test &landing_page=JotForm &formid=71086145506151
- JotForm SupportWelvinAnswered on May 24, 2017 at 02: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.
- smarch678Answered on May 24, 2017 at 04:03 PM
Unfortunately we cant change the end point on the system. It has to be case sensitive.
- JotForm SupportWelvinAnswered on May 24, 2017 at 05: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: