contact form from shortcode – changing name minimum lenght limit Support Forums for LiveMesh Themes & Plugins › Forums › Fusion Theme Support › contact form from shortcode – changing name minimum lenght limit Tagged: contact;limit;minimum;charts This topic has 5 replies, 2 voices, and was last updated 9 years, 5 months ago by Veena. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts July 30, 2015 at 10:41 am #15585 apa-slParticipant Small problem. contact form from the short code (witch is noticeable prettier that contact form 7) requires a minimum 5 chars in the name field whereas we have 2-3 chars long names. How can we change the minimum lenght limit? July 31, 2015 at 5:37 am #15599 VeenaModerator Pls modify file contact-shortcodes.php(framework/shortcodes/contact-shortcodes.php) line no:44 to $output .= '' . esc_html__('Name *', 'mo_theme') . ''; And you can change the name format string in file framework/framework.php line no:621. July 31, 2015 at 9:49 am #15606 apa-slParticipant Unfortunately this modification did not worked (we’ve double checked – file on our FTP servers has been uploaded after the modification 😉 This is our changed line 44: $output .= '<p><label>' . esc_html__('Name *', 'mo_theme') . '</label><input type="text" name="contact_name" minlength="2" placeholder="' . esc_attr__("Name:", 'mo_theme') . '" class="text-input" required></p>'; August 1, 2015 at 4:11 pm #15648 VeenaModerator Instead of giving minlength=”2″ in contact-shortcodes.php pls change minlength to 2 in file js/main.js at line no:568. August 1, 2015 at 5:22 pm #15652 apa-slParticipant @phoenix: thank you, now it works. Last question: where can we edit theme’s copy (warning info in case of entering to short name still says “min lenght 5 chars:. August 3, 2015 at 6:04 am #15657 VeenaModerator You can change it in file framework/framework.php at line no:621. Author Posts Viewing 6 posts - 1 through 6 (of 6 total) The forum ‘Fusion Theme Support’ is closed to new topics and replies.