Support » Plugins and Hacks » [Resolved] Required Field

[Resolved] Required Field

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hiya,

    There’s not actually an option for that I’m afraid.

    If you’re comfortable with custom coding it might be do-able, though.


    If I was comfortable with coding surely I wouldn’t be asking for help bro.
    I’m 100% sure it’s do-able. Hopefully someone responds with the answer.

    Thanks for your reply though




    NetWebLogic Support

    What Phil means is that the only way to do it would be with custom coding – there’s no option for it in the interface.

    Wow, ok so what’s the custom code to make my zip code field required during the submit an event process?



    NetWebLogic Support

    you can try to hook into em_location_validate filter – something like this in your theme functions.php

    function my_em_mod_location($result, $EM_Location){
    	if( empty($EM_Location->location_postcode) ){
    		$result = false;
    		$EM_Location->add_error( __("zipcode is required.", "dbem") );

    angelo_nwl: your code works, your the flippin man, thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Required Field’ is closed to new replies.