• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: How to disable sending email if input is empty

How to disable sending email if input is empty 7 years 11 months ago #36878

Hi.

I'm having spam problems, than i thought to do this.

I have a hidden field that is written by javascript (product id). When an user send an email, the javascript gets the product id and write it in the hidden field product_id.

I noticed that when is a spam this field stays blank.

So i'd like to create a rule, like:

If (product_id == ""){
do not send email}
else{
send email
}

Or i can creat another field and hide by css, if there's some value on it (spam automatic) then do not import.

Thanks!!!
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!