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 Breezing Forms / FacileForms Insert a url value into a field in Breezing Forms with JInput
Insert a url value into a field in Breezing Forms with JInput
  • 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
 

Latest Articles

VirtueMart
Your Cart is currently empty.

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.



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.