|AINIA Cosmetics Sector Solutions Cover

Innovation Solutions for the Cosmetics Sector

At AINIA, we offer solutions to address the challenges of the cosmetics 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