WordPress form action – doesn’t work

You need to add another action to allow anonymous (not logged in) users to submit the form.

add_action( 'admin_post_udalosti', 'proved_udalosti_test' );
// Allows anyone to submit this form.
add_action( 'admin_post_nopriv_udalosti', 'proved_udalosti_test' );