Home › Forums › Quform WordPress › Caps Lock
- This topic has 7 replies, 2 voices, and was last updated 9 years, 7 months ago by Ally.
- AuthorPosts
- September 8, 2014 at 12:21 pm #12349neiosdissenyParticipant
In the form that we have developed there are several fields that we have to return the data in uppercase.
We have entered the code we found in one of the post, but we know we have to change that code to our form and if we introduce the function php WordPress gives error.
The code you have copied is:function mytheme_form_uppercase($form)
{
foreach ($_POST as $key => $value) {
if (strpos($key, ‘iphorm’) === 0 && is_string($value)) {
$_POST[$key] = strtoupper($value);
}
}
}add_action(‘iphorm_pre_process_18’, ‘mytheme_form_uppercase’);
You can tell us step by step where to enter the code and data canviar should we?
Thank youSeptember 8, 2014 at 12:30 pm #12350AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 8, 2014 at 9:11 pm #12370neiosdissenyParticipantthank you,
I send the php code functions.Attachments:
You must be logged in to view attached files.September 9, 2014 at 8:24 am #12372AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 9, 2014 at 12:22 pm #12377neiosdissenyParticipantit works! Great!
thank you very muchSeptember 16, 2014 at 9:55 pm #12444neiosdissenyParticipantHi ally,
The issue of capital works fine. But I have found that since I have not entered the code data fields are exported conditional logic. It may be the case code?
NeusSeptember 17, 2014 at 1:33 pm #12473AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- This reply was modified 9 years, 7 months ago by Ally.
September 17, 2014 at 1:33 pm #12474AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.