can you remove asterisk from required field. but still require that field?
can you remove asterisk from required field. but still require that field?
add some custom css
span.gfield_required {
display:none;
}
Yes, as the user said above you can hide it using CSS. There is no way to remove it. If the field is required you want some sort of visual cue so the user knows it is required.
Can we replace the asterisk with a written "(required)" or "required" in italics?
You would have to do this with a jQuery snippet added to your theme file. You would look for the "gfield_required" span and replace the contents with whatever you'd like. This of course assumes that you have already enqueued the jQuery library in your theme header.
jQuery.noConflict();
jQuery(document).ready(function($) {
$('.gform_wrapper .gfield_required').html('* required');
});
screenshot: http://grab.by/aczC