Home Forums Plugin Support WP User Frontend Pro Having if and else dropdown statements

This topic is: not resolved

This topic contains 4 replies, has 2 voices, and was last updated by  Timothy 5 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15967

    Timothy
    Member
    Post count: 3

    Hi, I am wondering is the plugin able to do if and else statement kind of action.

    Having the user to first pick from one dropdown and if the user picks A then the second dropdown will show items within the A category. If the user picks B then the second dropdown will show items within the B category.

    Also I am wondering how does editing the post works. For example when I go to the link:
    http://www.URL.com/listings/create-listings/

    It is always creating a new posting. How do I edit the posting?

    Thanks!

    #15979

    Mahi
    Member
    Post count: 1555

    unfortunately, its not possible currently. Conditional fields feature will be added soon.

    And, to edit posting you have to –

    – create an edit page with short-code
    – setup edit page from settings area

    Then, users can edit their post from dashboard.

    Documentation: http://docs.wedevs.com/post-editing/

    #15982

    Timothy
    Member
    Post count: 3

    I created the page called Edit Listings

    Added the [wpuf_edit] into the post

    Then within the User Frontend page I went to general and then modified the Edit Page to:
    Edit Listings

    Right now when I entered the page it shows edit listings but then what if I have different form? and how do I state that which post id it is that I am editing?

    #15985

    Mahi
    Member
    Post count: 1555

    users can edit their post from dashboard and you don't have to worry about different forms. It will automatically pickup the right one by it self.

    #15987

    Timothy
    Member
    Post count: 3

    It's actually not a post. It's actually one of the theme's location taxonomy that I am editing. I've been able to create the form but editing doesn't work.

    Also I am thinking about implementing on a page template to do the Javascript:

    <script>
    	function showHide()
    	{
    		var dllarea = $("#dllarea");
    		
    		if(document.getElementById("dllarea").selectedIndex == 0)
    		{
    			document.getElementById("dlllocation").options.add("Item1");
    		}
    	}
    </script>
    

    Is there any way to add id to the form field or add onChange=”showHide” on the field?

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Having if and else dropdown statements’ is closed to new replies.