Support » Plugin: Participants Database » How to add place holder in field

  • Hi Sir
    i need a little bit helps
    Can you please tell me How I can add Placeholder in the add list participant fields
    I know there is Help filed but that text show below to input while i want that help text as a place holder

    Here is my page link i hope you understand
    [ redundant link removed ]

    • This topic was modified 3 years, 5 months ago by Jan Dembowski.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Placeholders can be added to text fields in the field definition on the Manage Database Fields page…in the “values” parameter, put something like this:

    placeholder::First Name

    Thread Starter jamshaid32

    (@jamshaid32)

    Thanks for giving me a solution
    I have one more Question i do not should i asked here or in another support tickets

    I have a Field in my record that is Membership ID (that is actually username of WordPress user)
    So what I want that person who is login can see all recorded that is added by him against the specific username(membership id) on a single page. where further he can check on one by one on a single page and can edit them

    Note: A single user can add more than 1 record using his username
    many thanks

    Plugin Author xnau webdesign

    (@xnau)

    Take a look at this article for how something like this can be done:

    Using Participants Database with WordPress Users

    Normally, a new, unrelated question should be in it’s own topic. This makes it easier for other users to find solutions.

    Thread Starter jamshaid32

    (@jamshaid32)

    I have use this code on my page
    [insert_php]
    $current_user = wp_get_current_user();
    echo do_shortcode(‘[pdb_list filter=”membership_id=’ . $current_user->user_login . ‘”]’);
    [/insert_php]

    its not working can you please help

    Thread Starter jamshaid32

    (@jamshaid32)

    Leave my above replay i have solved it
    please just let me know how user can edit record on single record link
    That is the page where user will see list of all record
    https://www.bradfordfhs.org.uk/members/members-interests/interest-record-list/
    when he click on the mail id it goes to single record page i just want that user can edit that record from their

    Thread Starter jamshaid32

    (@jamshaid32)

    I mean when a user sees all his record added by him. he can also edit them

    Plugin Author xnau webdesign

    (@xnau)

    Thread Starter jamshaid32

    (@jamshaid32)

    Hi Sir i use that article Using Participants Database with WordPress Users
    its worked before but now it is not working can you please tell why it happening
    Thanks

    Plugin Author xnau webdesign

    (@xnau)

    Ok, can you provide a description of a specific problem you are seeing?

    Thread Starter jamshaid32

    (@jamshaid32)

    Okay i am using that below code to user current login users records
    That was workink well before but now the code did not work it also did not gave me any error message
    While i add user login field in database fields as well
    $current_user = wp_get_current_user();
    echo do_shortcode(‘[pdb_list filter=”user_login=’ . $current_user->user_login . ‘” template=edit-link]’);

    Looking for your Help

    Plugin Author xnau webdesign

    (@xnau)

    I can’t see why that wouldn’t work. Do you have that code in a php snippet on your page? Where do you have this code?

    Thread Starter jamshaid32

    (@jamshaid32)

    I am using Custom template and that code is in Custom template .That was working before but not it is not . I also did not get any error

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How to add place holder in field’ is closed to new replies.