2 Questions

By: Raffi Taslakian | Asked: 01/12/2023
ForumsCategory: How-to2 Questions
Raffi Taslakian asked 2 years ago
1st: How can i Auto Increment by 1 a text field every time i submit a form?   2nd: Is there a way that when i submit a form. same time it pulls the content and  send it to a specific Google sheet template in google drive?  
4 Answers
Bobby Clapp answered 2 years ago
Raffi Taslakian replied 2 years ago

Hello Bobby,
thank you for replying so quick.

Thank you for the links you've sent.

I don't want to increment the ID. I want to increment a text field every time i hit submit.
I found something that can copy from the last entry and pastes it into the new entry in that specific field. But i dont know how and where to put the code. Let me send you the link. Can you please help me? i need this to work. it helps alot.

https://formidableforms.com/knowledgebase/frm_validate_field_entry/#kb-examples

Thank you so much again
Best regards

Raffi

Victor Font replied 2 years ago

The code you're asking about is PHP. PHP snippets can go in your functions.php, a code snippets plugin, or a file required by functions.php.

Raffi Taslakian answered 2 years ago
Hello Bobby, So the Google Sheet integration with formidable works perfectly fine. I can insert data from the entries to the google sheet rows.   Quick question, Is there a way that everytime an entry is created. instead of adding to the same spreadsheet, create a new spreadsheet? each entry has its own spreadsheet.   Thank you for helping me.  
Bobby Clapp replied 2 years ago

Looks like that might only be possible through Zappier -> https://zapier.com/apps/formidable/integrations/google-sheets

Raffi Taslakian answered 2 years ago
Thank you for everything
Raffi Taslakian answered 2 years ago
Hey Bobby, Its me again, Zapier worked out perfectly fine. just wanted to let you know about that.   okay so im kinda new in these things. i've researched alot about the snippets you told me about, the small PHP scripts that goes into function.php Im kinda curious how that works. im trying to understand something here, lets say ive created a PHP snippet that copy's a text box value and puts in the other entry and increments it by 1. How does this snippet will be implemented in the Formidable Forms entries? Thank you
Raffi Taslakian replied 2 years ago

The question is how can i integrate it with Formidable Forms? how are they connected?

Bobby Clapp replied 2 years ago

All depends on which function you use. Look at the hooks here -> https://formidableforms.com/knowledgebase-category/extend-formidable-forms/

Raffi Taslakian replied 2 years ago

Bobby thanks for everything, i already got everything and it worked. I love Formidable forms.

Thanks again
have a great one

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right