Limitar el número de envíos para cada elemento

 

Para realizar esto primero necesitará consultar la base de datos mediante código dentro de una Pieza del Formulario -> Antes del Formulario.

Aquí tiene un breve ejemplo:

$this->execPieceByName('ff_InitLib');
$count = 0;
$rows = ff_select('SELECT COUNT(*) FROM PREFIJO_facileforms_subrecords WHERE name="NombreDelElemento"');

foreach($rows AS $row){
$count = $count + 1;
}
echo $count;

if($count >= 4){
//do something
}

 

PREFIJO = Cambie este prefijo por el de su base de datos de Joomla! 

NombreDelElemento = Cambie esta palabra por el nombre del elemento que quiere consultar.

 

Cómo crear un formulario de una página con desplazamiento automático (scrolling)

Desde la versión 1.8.7 de BreezingForms (compilación 880) existe una nueva característica llamada OnePage forms (Formularios de una sola página), únicamente disponible para el editor de formularios QuickMode.

Como su nombre indica, esta opción activa una forma de visualización del formulario en el que las distintas páginas creadas en el mismo se muestran todas en una única página, evitando el salto entre páginas mediante un deslizamiento de las mismas (scrolling). El botón final de Envío ejecuta la transferencia de datos mediante AJAX y carga la página de agradecimiento en una ventana emergente estilizada. Aquí puede encontrar un ejemplo con esta característica, que además incorpora el nuevo estilo llamado La Paloma.

Leer más: Cómo crear un formulario de una página con desplazamiento automático (scrolling)

Telegram Messenger y BreezingForms

¿Qué es Telegram?

Telegram es un popular y seguro sistema de mensajería instantánea para móviles y ordenadores semejante a WhatsApp pero con muchas más opciones, como por ejemplo compartir archivos en multitud de formatos. Telegram supports regular chats, group chats as well as bots.

Our Telegram integration lets you create your own bot that is accepting your form submissions and forwarding them right to you or your groups. It supports upload forwarding (photos, videos, documents) as well as our regular PDF, CSV and XML exports.

If you didn't install Telegram yet, it's time to do so. You will be surprised how many of your contacts are already using it: https://telegram.org/

Please follow these steps to install Telegram in BreezingForms:

  1. Install Telegram either as app on your mobile phone or use the desktop version. For the initial setup, it is recommended to use the desktop version.
  2. Download the latest BreezingForms from your membership area, unzip, install and enable the file plg_telegram.zip from the /extensions/addons/ folder in Joomla!
  3. Create your form, once it's done, browse to your form => advanced => more options => click "Telegram"
  4. You will be asked to enter an API key and a password. The API key is provided by Telegram, while the password is chosen by you to start communicating with your bot
  5. To obtain the API key, you need to contact Telegram's so called "Botfather" first. The Botfather lets you create your own bots and it is providing you the API key:
    1. Open the url https://telegram.me/BotFather with your browser. It will open your Telegram app and start a conversation with the Bothfather
    2. In the message field, enter /newbot
    3. The Botfather will ask you to enter a name and a username for the bot.
    4. Once your bot has been created, you can copy and paste the API key provided by the Botfather into the Telegram setup of BreezingForms
    5. You can start your conversation with your bot by opening the link with your browser in the form https://telegram.me/YOURBOTNAME, where YOURBOTNAME is the name of the bot you choose
    6. After opening, a conversation with your both will be opened in Telegram. Send your bot a message with the password you choose above to activate submission forwarding
  6. After saving your Telegram setup. You should see a few options:
    1. "Telegram Status": If it shows "OK", then your bot is ready and everything is working. If you see "Error", then please reset the setup and make sure you are using the correct API key and also check that your server allows outgoing connections (check your firewall if you are testing it locally)
    2. "Reset": check Reset and save if you want to start over
    3. "Enabled": check this to enable the Telegram integration
    4. "Display Head Data": check this if you want to see the meta information with the submission such as submission time, username, etc.
    5. "Password": choose a password that you use to start communicating with your bot. If you want to stop the bot to send you notifications, simply write him a message saying 'stop'
    6. "Exclude Fields": enter one field name (not title) per line that you don't want to see in the notifications
    7. "Attach Exports": choose if you want to send the submissions as PDF, CSV or XML with each notitication
  7. Now open your form and submit something. If you sent your bot your password as message before, you should see your notifications and further ones that are made with the form

Direct Bot Conversation Vs. Group Chats

Although it is possible to communicate directly with your bot by using the password you choose above, it is recommended to create a group in Telegram and add your bot and all participants into that group. If you do it that way, you'll safe bandwidth (messages are only sent once), the submission duration will be way shorter and you can safe yourself from using a password. 

To learn more about bots, please checkout Telegram's documentation about bots here: https://core.telegram.org/bots#botfather

Descuentos actuales

Suscripción todos extensiones

Summer Sale! All subscriptions at a special price!


Sin límite de dominios!. Incluye todas nuestras extensiones presentes y futuras para Joomla!®, plantillas para Joomla!®   adquiriendo la suscripción de por vida tiene acceso a todas nuestras plantillas.

Más información aquí

Descuento por componentes terceros - 25% Off

Nosotros le ayudamos a que no incurra en grandes gastos. Si es nuevo cliente y ha adquirido un constructor de formularios de otro proveedor, obtendrá un 25% de descuento en nuestra suscripción de un año o de por vida.

Cómo recibir el descuento:

Envíenos un correo electrónico a sales@crosstec.org con la evidencia (por ejemplo, un recibo de PayPal) de que a adquirido otra extensión para formularios y espere a nuestras instrucciones de pago para disfrutar de su suscripción con descuento.

Apoyando a la comunidad Joomla!

Nuestra pasión nos lleva a apoyar a grupos oficiales de usuarios de Joomla! y a organizadores de eventos Joomla! registreados en Joomla.org.

Si planea organizar un evento relacionado con la comunidad Joomla! y necesita cualquiera de nuestros productos, por favor, envíenos un email a info@crosstec.org y recibirá una suscripción de por vida gratuitamente.