Innovation solutions for the Packaging Sector

At AINIA, we offer solutions to address the challenges of the packaging sector and meet consumer expectations.

Download document

jQuery( document ).ready( function( $ ) { // Escuchamos el evento de éxito de envío $( document ).on('submit_success', function(e) { var pdfUrl = $('#form-field-pdf_url').val(); // Depuración: Muestra en la consola qué está encontrando (opcional, para ver si funciona) console.log("URL encontrada: " + pdfUrl); // Si hay URL, abre la nueva pestaña if ( pdfUrl ) { window.open( pdfUrl, '_blank' ); } }); });

You may be interest in