Skip to content

I am using React based form #213

Closed
Closed
@AbhimanyuAryan

Description

@AbhimanyuAryan

I am using ReactJS instead of HTML form

submitDetails(){
    var thisComponent = this;
    $("#"+this.props.submitButton).click(function(){
      console.log(thisComponent.state);

      $.post('https://script.google.com/macros/s/AKfycbwCfsi-UTfR0M2gCziC3E66eB4_F8Tlyztv7v6i3jr03S0tMDPF/exec', thisComponent.state, function(response){
        console.log(response);
    })

    });
  }

but this doesn't seem to work. While sending the data to excel sheet

All attributes are same. The only thing I'm confused b/w is that 'gform' id. I haven't done that. Is that a problem?

When I submit I get an object out which contains data. Now how do it plugin in this data to excel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions