WPIntell

Source evidence

Optional field doesn´t work

Location Module (Lite) for Contact Form 7 · support · 2017-05-07T18:29:00+00:00

questionsentiment
mediumseverity
0.8relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 28 rows with source links

10.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
victorrf resolved
Hi Nicola, Thanks for your plugin. I have been testing it and it´s working fine, even I can send the data to database from the form and this is very good for the web we are preparing. But we are facing an issue; it´s not possible to set the fields as not required (optional) fields. In spite of we have set the field as optional building the CF7 form, if users keep the field empty the form is not sended and appears a message: “No Location set, enter your address then press “SET” to get the location.” This is very important for us because not all the users in our web are going to send their location. I have tried this in two different ssl sites and occures the same. Please, do you know what can be the problem? A lot of thanks, Victor PD: Finally, I have deactivate the below code in cf7-location-module.php and now it´s possible for me to set the field as optional. Sure it´s possible to do it without deleting code, but it´s a “bit gross” way to get it… If latitude and longitude are empty if ($posted_lat == ”&&$posted_lng==”) { $result->invalidate( $tag, __(‘No Location set, enter your address then press “SET” to get the location.’,’cf7-location-module’) ); } A lot of thaks. This topic was modified 9 years ago by victorrf . This topic was modified 9 years ago by victorrf . This topic was modified 9 years ago by victorrf . Dear Victor, this bug will be fixed on next release. Thanks for using Location Module for CF7. Regards, Nicola

Comments

1 shown
nicola.bavaro 2017-05-15T14:11:00+00:00

Dear Victor, this bug will be fixed on next release. Thanks for using Location Module for CF7. Regards, Nicola