Logo Design VirtueMart & Joomla Web Design England UK Britain Insert a url value into a field in Breezing Forms with JInput - Breezing Forms / FacileForms how to's

Pass a field to another field in Breezing Forms with Javascript

Home Joomla - VirtueMart Virtuemart 3-2 Cart with Shipping Module
  • Joomla 3
  • Breezing Forms/
    FacileForms

It is often useful to have a url value inserted in your Breezing Forms / FacileForms form before you submit it.
Here is how to insert a url value into a field in your Breezing Forms / FacileForms form with JInput in the Form Pieces


In the Form Pieces section -> Before Submit

 

$jinput = JFactory::getApplication()->input;

$this->execPieceByName('ff_InitLib');

//fetch the values and use filter mask
$product_name = $jinput->get('product_name','','string' );
$email = $jinput->get( 'email','','string' );

//preset the elements in the form
ff_setValue('product_name', $product_name);
ff_setValue('email', $email);

 

Last Updated on Wednesday, 26 October 2016 15:55
 
VirtueMart
Your Cart is currently empty.

Latest Joomla & VirtueMart Tips

See all tips & examples

GJC Web Design UK Logo & Graphics Design

Photography

Belgium, VirtueMart & Joomla Web Design England UK Britain & Germany

Logo & Graphics Design Experts, Website Graphics, Visiting Cards, Fast personal service



Insert a url value into a field in Breezing Forms with JInput|Breezing Forms / FacileForms how to's



Pass a field to another field in Breezing Forms with Javascript


form, jinput, email, product, facileforms, forms, breezing, string, pieces, submit, setvalue, value, url, values, use, filter, mask, preset, formff, elements, jfactory, insert, inserted, useful, joomla, field, section, initlib, execpiecebyname, input, getapplication, fetch


guru

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.