PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Gform pre render

  1. Please help me. I have 2 forms

    Form 1 = "ID" = 14
    Form 1 field "ID" = 2 .... "nome_do_condominio"

    I would like to fill the Form 2 "ID" = 11

    The dropdown field "ID" = 31 is filled with items
    Field ID = 2 ID = 14 Form

    I installed the 1st example "Gform pre render" in "functions.php"

    But I wanted him to fill the dropdown the posts
    "/ / Reading posts for" Business "category;
         $ posts = get_posts ("category =". get_cat_ID ("Business"));

    Please: give me the line of this code, so I can replace this top
    thank you

    Posted 6 years ago on Wednesday December 26, 2012 | Permalink
  2. Do you have links to the pages on your site where these forms are embedded? I am having a hard time following your request. Thank you.

    Posted 6 years ago on Wednesday December 26, 2012 | Permalink
  3. Link Form ID 14 Field 2
    http://edsoncruz.com.br/cadastro-do-sindico/

    Link Form ID 11 Field field 31 ( to be filled )
    http://edsoncruz.com.br/condominos/

    thank you

    Posted 6 years ago on Wednesday December 26, 2012 | Permalink
  4. Are you directing the visitor from form 14 directly to form 11 with a confirmation redirect? If so, you can use the query string to send the parameter direct from form 14 to form 11.

    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population#Query_String

    Form 11 needs to have field 31, on the advanced tab, checked "Allow field to be populated dynamically". Then, after you check that, enter a query string parameter. Maybe use "nome", and then, in the query string redirect for form 14, you would send the nome like this:

    http://edsoncruz.com.br/condominos/?nome={Nome do Condomínio:2}

    I am guessing at the merge tag. Please use the merge tag drop down to insert that. The URL line will contain this:

    http://edsoncruz.com.br/condominos/

    The query string box will contain this (but with your actual merge tag from the drop down):
    nome={Nome do Condomínio:2}

    The ? will be added by Gravity Forms.

    That will pre-select the Nome do Condomínio in the drop down on form 11 (your second form.)

    Posted 6 years ago on Wednesday December 26, 2012 | Permalink
  5. Thank you
    I'll try and hope to succeed.
    Thank same.

    Posted 6 years ago on Wednesday December 26, 2012 | Permalink
  6. Please let us know if you need more help.

    Posted 6 years ago on Wednesday December 26, 2012 | Permalink
  7. My friend Hajer, could not.
    I'll ask you a favor, I created for you as a User Administrator for you on my site.
    http://edsoncruz.com.br/wp-admin
    User: Hajer
    password: (edited)

    I have 2 records in the form ID "14"
    I need to fill out the form ID "11"
    In Field "Dropdown: ID field 31
    He pull in the "ID" 2 of Form ID "14"

    For you it is fast, show me how to do one, I do the second.
    Please do this for me, for a long time I have been trying and I can not.
    Please count on your help
    thank you very much

    Posted 6 years ago on Thursday December 27, 2012 | Permalink
  8. I logged and took a look at your form. If you want to fill in field 31 of form 11, with the information from field 2 in form 14, you will need to use a confirmation redirect instead of the text redirection as you have it now. Is that what you want? When the visitor submits form 14, they should be immediately redirected to form 11 upon submission, and the drop down field of 31 should be set to the value they entered in form 14, field 2? Is that correct? I don't want to change your confirmation if that is not your understanding.

    Posted 6 years ago on Thursday December 27, 2012 | Permalink
  9. yes, correct
    thank you
    execut

    Posted 6 years ago on Thursday December 27, 2012 | Permalink
  10. If you ever write a line of code. Please paste here. And tell me where you put (glued) Thanks.

    Posted 6 years ago on Thursday December 27, 2012 | Permalink
  11. I edited form 14 to NOT display confirmation text after submission and instead to direct the visitor to http://edsoncruz.com.br/condominos/ with the query string to pre-populate field 31 in form 11. I gave it a parameter name of "condomino" - you initially had a complete URL in there. The URL goes on the confirmation setting for the first form, form 14, as a "redirect" instead of text.

    I thought form 14 previously had a drop down for Nome do Condomínio? As it looks right now, with a free text field, that value will be sent "as is" to the second form on http://edsoncruz.com.br/condominos/ but unless the spelling is exactly correct, it will never work to pre-select the condominium on http://edsoncruz.com.br/condominos/ . It would be best if they are both drop downs with identical values.

    You can verify the query string is working by entering text in field 2 on your first page (where form 14 is embedded, then after you submit, check the browser address bar. It should look something like this:

    http://edsoncruz.com.br/condominos/?condominio=WHATEVER TEXT YOU ENTERED

    Let me know if that helps you.

    Posted 6 years ago on Friday December 28, 2012 | Permalink
  12. Now identical values​​.
    I just want the customers when choosing (use) the field (31 dropdown) of the form (11).
    He finds the records that customers have made in the field (2 text) of the form (14)
    Thank you for your attention.
    I'm sure now we will get it right.

    Posted 6 years ago on Friday December 28, 2012 | Permalink
  13. I tried taking a look at the original page but it comes up with a 404 error now?

    http://edsoncruz.com.br/cadastro-do-sindico/

    Do you still need help with this?

    Posted 6 years ago on Saturday December 29, 2012 | Permalink
  14. I really need. You can now access.
    Your password remains the same.

    Now identical values.
    I just want the customers When choosing (use) the field (31 dropdown) of the form (11).
    He finds the records That customers have made ​​in the field (2 text) of the form (14)
    Thank you for your attention.
    I'm sure now we will get it right.

    Thanks'm waiting here

    Posted 6 years ago on Saturday December 29, 2012 | Permalink
  15. Edson, there is no support on the weekend. We tried to give you some assistance yesterday, but the form was not present in the original location. We'll take a look at this again in 24 hours. Thank you for your patience.

    Posted 6 years ago on Sunday December 30, 2012 | Permalink
  16. Edson, I took a look at your pages again today. Form 14 does not contain a drop down for field 2. If you allow free form text in that field, that information will be sent to the next page using the query string, but form 11, field 31 used to have a drop down. I tried to access the page which is in the confirmation settings for form 14 http://edsoncruz.com.br/condominios/ but it too comes up with a 404 Not Found error now. It is extremely difficult to help you configure your forms when things keep changing on the site.

    Please tell us which page holds form 14 and which page holds form 11 and we will look at populating field 31 in form 11 with the information submitted in field 2 of form 14.

    Posted 6 years ago on Monday December 31, 2012 | Permalink
  17. What type of field (2) I have to use the Form 14, for when the User (X) complete and submit the record in the database.
    Form 14
    http://edsoncruz.com.br/condominos/

    E quando outro usario (Y) for preencher o campo 31 do formulario 11, o usuario ja encontre os dados preenchidos.
    Obrigado
    Chris
    Form 11
    http://edsoncruz.com.br/cadastro-do-sindico/

    Posted 6 years ago on Monday December 31, 2012 | Permalink
  18. I may not be explaining myself clearly. My apologies for that.

    It is a lot to expect that a user will type in the exact name in field 2, form 14, and have that match up with field 31, form 11. Field 31 was a drop down. I looked today, and it still is, but now there are no values in the drop down.

    You have two choices: make them both drop downs if you have a defined list of condominiums, with identical values, or make them both plain text, if you do not care what is entered in field 2. It will just be carried over to field 31 in form 11.

    Which solution will you use?

    Also, in form 14, the confirmation redirect was not working because you changed the URL of this page http://edsoncruz.com.br/condominios/ to this http://edsoncruz.com.br/condominos/ - I fixed that problem. You need to decide how to handle getting identical text in two forms. Drop down in both forms, or free text field in both forms.

    Posted 6 years ago on Wednesday January 2, 2013 | Permalink
  19. This is the option, as we do.
    or make them both plain text, if you do not care what is entered in field 2. It will just be carried over to field 31 in form 11.
    thank you

    Posted 6 years ago on Wednesday January 2, 2013 | Permalink
  20. OK. To go in this direction, please delete field 31 from form 11 and add in a plain text field with the label of your choice. (You cannot edit a field type once it's been added to the form.) Then post here the field ID so I can log in and configure it to be populated dynamically. Thank you.

    Posted 6 years ago on Wednesday January 2, 2013 | Permalink
  21. Field ID 37 form 11

    Posted 6 years ago on Friday January 4, 2013 | Permalink
  22. please leave written here as you make the field 37 be dynamically populated with the information from Box 2 of Form 14

    Posted 6 years ago on Friday January 4, 2013 | Permalink
  23. I have modified form 11 to allow field 37 to be populated dynamically. The check box is on the advanced tab of the field settings for field 37. The checkbox is labelled "Permitir o campo ser preenchido dinamicamente". I gave it a parameter name of "condo". That will allow you to send information from form 14 field 2 to form 11 field 37.

    Form 14 was already set to redirect the visitor to the page with form 11 embedded in it, and was sending the value of field 2 in the query string. I changed the parameter name for the query string on form 14 from condominio to condo.

    Please test form 14 to see if the information captured in field 2 is sent properly to field 37 in form 11.

    Posted 6 years ago on Monday January 7, 2013 | Permalink
  24. Thank you Chris.
    It worked as you did.
    More in reality I just wanted something like this:

    What to fill the form 19
    http://edsoncruz.com.br/test-2/
    In FIELD 1
    I find ja (Import), Field 5 or 6, all records FIELD 2 of Form 18, for a field "dropdown or MULTI SELECT. Thanks

    no need to redirect the page, only export the records of field 2 of the Form 18 for the field 5 or 6 of Form 19

    Posted 6 years ago on Monday January 7, 2013 | Permalink
  25. Edson, configuring Gravity Forms for you is beyond the support we can normally give in these forums. We can point you in the correct direction and give you pointers when you get stuck. We don't normally make changes to our users' sites and can't take responsibility for doing so. If you need more help configuring these forms to do what you want, you may want to open a ticket on the job board or one of the many WordPress-related websites on the Internet.

    http://www.gravityhelp.com/forums/forum/job-board

    Good luck with your forms. They're looking good so far.

    Posted 6 years ago on Tuesday January 8, 2013 | Permalink