Bienvenido, Invitado
Recordarme

TEMA:

Breeze Form form HTML Form 4 meses 1 semana antes #276231

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

if you didn't get any errors, the data should be sent over the URL, did you check the browser console, and whether the data was sent?

Let me know!

regards,
Mirko

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

Breeze Form form HTML Form 4 meses 6 días antes #276255

  • Autor del tema
  • tayling
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 214
  • Gracias recibidas: 0
Hi

Still regarding updating JOOMCRM. I have attached a simple form created by JoomCRM - as html.
If I use your snippet (below)

Should I use the form and replace values with
value="'.htmlentities( ff_getSubmit('somefield') ).'"
for each field and leave the submit etc intact?

The previous example just didnt work - this sample form works if run from within joomla website - tested in an article.

I am sorry to keep on this one but JoomCRMhas no apis or samples and they are not very helpful. Unfortunatley we have gone with them but need the excellence of Breezeforms for presentation


Thanks

Tony

$this->execPieceByName('ff_InitLib');
echo '
<form name="myresubmit" action="YOUR-TARGET-URL">
<input type="hidden" name="somefield" value="'.htmlentities( ff_getSubmit('somefield') ).'"/>
<input type="hidden" name="somefield2" value="'.htmlentities( ff_getSubmit ('somefield2') ).'"/>
<input type="hidden" name="somefield3" value="'.htmlentities( ff_getSubmit ('somefield3') ).'"/>
<!-- and so on ... -->
</form>
<script>
document.myresubmit.submit();
</script>
';

exit;
Adjuntos:

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

Breeze Form form HTML Form 4 meses 6 días antes #276256

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

oke, I will take a look at the FORM and then back to you.


Should I use the form and replace values with
value="'.htmlentities( ff_getSubmit('somefield') ).'"
for each field and leave the submit etc intact?


using this script, the values of elements should be sent over the URL.

yes, you need for each element use 'htmlentities( ff_getSubmit('somefield')' and instead 'somefield' use name of element.

Regards,
Mirko

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

Breeze Form form HTML Form 4 meses 5 días antes #276271

  • Autor del tema
  • tayling
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 214
  • Gracias recibidas: 0
I have tried but the form is not saving data to the CRM tables.

Am looking at integrator = that maybe the solutions - but some of my Breeze forms are quite large with a lot of fields If we can get one form to work with JoomlaCRM form then I can certainly get going from there.


Regards

Tony AYling

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

Breeze Form form HTML Form 4 meses 5 días antes #276272

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

yes, you can try to use an integrator for that, this solution with URL doesn't work, because you need to take data from the URL and then save them in the elements, for that the best way is API but as I can see it JoomlaCRM doesn't have the API.

You can try with an integrator, you can start with one small FORM and see how will work that 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 #276292

  • Autor del tema
  • tayling
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 214
  • Gracias recibidas: 0
Hi Mirko,
I got excited that integrator was working for me - It does it except for one part.
The Joomcrm form creates both the person and the company at the same time and links the person to the company with a companyid field.

Using integrator - i created two entirs for the form, one creates the user and one create the comany but i cannot add the company id to link them. Does it create source code that maybe we could save the company and get the id before we save the person?

I though you may like to see a simple joomcrm form that I am using.


Thanks
Regards

Tony
Adjuntos:

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

Última Edición: Post by tayling.
Tiempo de carga de la página: 0.061 segundos