Lost field form when submitting

Lost field form when submitting

jfrjfr Posts: 71Questions: 24Answers: 0
edited July 2014 in Editor

Hi
I am migrating to Editor 1.3.1
I added fields on a form
I see the fields and value on the form but when submitting some field added does not get to the server
debug onDebut and data.var are all present.
debug onPreSubmit some data.var are missing
Any idea ?
Thanks in advance

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    Hi,

    Could you link me to a page showing the problem, or perhaps put some code into the post here so I can see what is happening?

    Thanks,
    Allan

  • jfrjfr Posts: 71Questions: 24Answers: 0
    edited July 2014

    I found my Problem

  • jfrjfr Posts: 71Questions: 24Answers: 0

    the dataProp changed to data and was working fine in previous version.
    Now it seam that the type and set
    data: function ( data, type, set ) {
    if ( type === 'set' ) {
    data.name = set;
    }
    return data.name.split(' ')[0];
    are necessary in order to return data when using a function in data

This discussion has been closed.