Bienvenido, Invitado
Recordarme

TEMA:

Breeze Form form HTML Form 4 meses 4 días antes #276293

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Ultimate Breezer
  • Ultimate Breezer
  • Mensajes: 3262
  • Karma: 2
  • Gracias recibidas: 160
Hi,

Does it create source code that maybe we could save the company and get the id before we save the person?

hmm, I need to check this, and then I will back to you.

you can try, create 'RecordID ' element

RecordID element - will get the record ID + 1.

insert the code in the Form > Advance > More Options > Form pieces > Before Form :
$this->execPieceByName('ff_InitLib');

$db = JFactory::getDbo();
$db->setQuery("Select Max(id) From #__facileforms_records");
$next_record_id = intval($db->loadResult()) + 1;

ff_setValue('recID', $next_record_id);

on this way, you can get the form ID of the not-yet submitted form.

you can try with this solution.

Let me know!

Regards,
Mirko

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Breeze Form form HTML Form 4 meses 4 días antes #276300

  • Autor del tema
  • tayling
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 214
  • Gracias recibidas: 0
Hi Mirko
It is no the Breezeforms ID i need - I am trying to create a people record and a company record in JoomCRM tables, Integrator worked great except for adding the linking companyid field in people.

Where does integrator come in - after the form has been saved?
If we coud do it between the integrator statements tht would be ok?

Regards

Tony

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Breeze Form form HTML Form 4 meses 4 días antes #276301

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Ultimate Breezer
  • Ultimate Breezer
  • Mensajes: 3262
  • Karma: 2
  • Gracias recibidas: 160
Hi,

If we coud do it between the integrator statements tht would be ok?


I need to check this because it is a little to hard to do with an integrator.



Where does integrator come in - after the form has been saved?


sorry, I didn't understand this, on what exactly do you mean?

regards,
Mirko

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Breeze Form form HTML Form 4 meses 3 días antes #276314

  • Autor del tema
  • tayling
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 214
  • Gracias recibidas: 0
Where does integrator come in - after the form has been saved?

If the integrator generates some source code and happens after breeze form is submitted I could change the source code to get the last id in the joomcrm companies table before the people fields are stored.

Regards

Tony

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Breeze Form form HTML Form 4 meses 3 días antes #276316

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Ultimate Breezer
  • Ultimate Breezer
  • Mensajes: 3262
  • Karma: 2
  • Gracias recibidas: 160
HI,

oke, I understand what do you want, honestly, I didn't do things like this before, so I will little investigate this and try figure out is here any solution


If you have more questions, feel free to ask!


Regards,
Mirko

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Breeze Form form HTML Form 4 meses 3 días antes #276320

  • Autor del tema
  • tayling
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 214
  • Gracias recibidas: 0
Thats Ok we can work it out and learn together - I beleive Breezeforms is really good and there will be an answer.
Regards

Tony

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Tiempo de carga de la página: 0.058 segundos