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.

Two question about Websites Advanced Field

  1. kfawcett
    Member

    Forgive my lack of knowledge, I have very little experience with wordpress and only understand a little about coding. :)

    1.

    What happens to the data entered into the Website URL? I have been testing my gravity form and when I enter in a URL it doesn't show up anywhere in the back end that I can find.

    2.

    I am trying to have the website URL be attached to the post so that visitors can click through to where the post info came from. I guessing this would require me editing my loop page? If so, what is the tag for the Websites Advanced Field? (Note: it has been brought to my attention that the Website Advanced Field can not handle complex URLs so I will need to use some other field for users to submit theirs URLs with.)

    I found where I need to create/insert the code since my posts already have a tag to insert the category on the posts. So I think I only need to edit this code to hook the [strike]Website Advanced Field value[/strike] single line text field or some other field to enable users to submit complex URLs:

    <?php
    			foreach((get_the_category()) as $category) {
    			echo $category->category_nicename . ' ';
    			}
    		?>

    Additionally, if I wanted to have the link say "Visit Source", how would I accomplish that?

    Posted 13 years ago on Thursday December 2, 2010 | Permalink
  2. The Website field under the Advanced Fields in the form builder gets stored with the entry that is created when a form is submitted. Whenever a form is submitted an entry is created. You can then view entries by going to the Entries area of Gravity Forms and viewing entries for that form.

    If you are using a form to create a post, please note that *ONLY* the Post Fields create post data. You can't call data from a non-Post Field in your loop. Only Post Fields create data in the Posts table.

    If you need the value of a field on your form to appear in a post you either need to...

    1) Use A Custom Field under the Post Fields. These get stored as custom fields with the post that you are creating.

    or

    2) Use the Content Template functionality of the Post Body field to format your post body content and display values from other form fields. These get stored in the actual post body content for the post that is created.

    So always keep in mind that not all Gravity Forms create posts and not all Gravity Forms data gets added to a post. You have to use the proper fields to create a post and post data.

    Posted 13 years ago on Thursday December 2, 2010 | Permalink
  3. kfawcett
    Member

    Thanks Carl! I managed to get it to work by adding a custom field and then calling it in my loop page.

    Posted 13 years ago on Thursday December 2, 2010 | Permalink