• Resolved bikerflyeradmin

    (@bikerflyeradmin)


    Hello My Favorite Form Team!!!

    I am using the Integrate Firebase Pro plugin to sync data on my wordpress site with my firebase realtime database, which is the backend for my mobile app. The plugin works great, however, the user guide is written by someone who doesn’t really know how to explain things; and they only give an example form for Contact Form 7 Plugin when trying to explain how to create a form for users to update firebase data from wordpress. I do not like Contact Form 7, and do not want to install it. So I was hoping for your help. Is there any way you can make sense of the below “example” from the user guide and give me some direction on how to create this form in Forminator, the Best Form Plugin Ever!

    // If you add class “getFirebaseUid” to any inputs, it will return the current user uid automatically

    [hidden databaseType “firestore”]
    [hidden collectionName “users”]
    [hidden documentId class:getFirebaseUid “INVALID”]
    [hidden collectionName “users”]
    [hidden dateType “dateOfBirth”]

    [text* firstName placeholder “First Name”]
    [text* lastName placeholder “Last Name”]
    [text* email placeholder “Email”]
    [tel phone placeholder “+1 647 620 0000”]
    Age

    [number age id:age min:1 max:100]
    Date of Birth

    [date* dateOfBirth id:dateOfBirth]
    Gender

    [radio gender id:gender default:1 “Male” “Female” “Other”]

    [submit “Submit”]

    I would really appreciate your help, and I want you to know I promote your plugin the best I can, and still plan to get the pro version once I finish this work.

    Sincerely,

    Daniel Perley

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @bikerflyeradmin

    I hope you’re well today!

    Thank you for your question and your kind words too!

    I must say, I’m afraid, that I’m not familiar with Firebase at all (except knowing that it, well, exists) and have never dealt with this integration plugin that you are using.

    The example that you shared makes some sense to me and “in theory” as long as we’re using just standard POST requests, it should all work fine. But I’m not sure how this integration plugin works and it worries me a bit that there seem to be some references to some code (I suppose that “getFirebaseUid” might be some function) being executed within form – which can’t be done in Forminator.

    I’ve asked our Forminator team for consultation on this and I or one of my colleagues will get back to you here once we only get to know more about that. I’d appreciate some patience, though, as they might need to do some testing first.

    Best regards,
    Adam

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @bikerflyeradmin

    I just got some update from our developers on this. There would be two suggested ways to deal with this. First one might be a bit complex as it would require custom development, since there is no “out of the box” integration with neither Firebase nor that integration plugin.

    However, it should be possible to hook to

    forminator_custom_form_submit_before_set_fields

    Forminator hook to “intercept” fields and then any “code way” could be used that either Firebase itself or that integration plugin provides to add/edit its data.

    The other way should be simpler and it’s integration through Zapier. Forminator has Zapier integration built-in and then in Zapier you can handle Firebase connection:

    https://zapier.com/apps/firebase/integrations

    Best regards,
    Adam

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Form For Integrate Firebase Pro Plugin’ is closed to new replies.