Forum Replies Created

Viewing 4 replies - 16 through 19 (of 19 total)
  • I replaced the check boxes with the radio buttons short code and now nothing gets posted or pending. Simply nothing happens. My short code is as follows, perhaps I did something wrong?

    <p>First and Last name (required)<br />
        [text* your-name] </p>
    
    <p>Email (required)<br />
        [email* your-email] </p>
    
    [radio post_category_name default:1 "public" "private"]
    
    <p>Subject<br />
        [text your-subject] </p>
    
    <p>Your Question<br />
        [textarea your-message] </p>
    
    <p>[submit "Send"]</p>
    
    [dynamichidden post_status "pending"]

    OK I understand I will install the plugin. Makes sense now.

    As for the logic:

    I want to make a form where someone can ask a question. I obviously want it pending status as I don’t want it to post directly to the site (this works fine). However, I wanted to add a check box for a person to select if they want this question to be viewed by the public or if it’s a private question.

    In turn I would make two categories (private and public) and whenever the question is submitted it would post it to either category. Just makes it easier to sort which are private vs public and I can simply manually do a quick edit and change it from pending to published by filtering only the public category.

    Hi,

    Forgive my ignorance with this but I don’t really understand something. Code like this in the example has to be put directly in the form I create? Or do I have to modify a PHP file? I added this directly to the form and the form shows the code.

    <em><em>function f2p_consolidate_fields( $form_data ) { // change the function name as needed
    $form_title = 'F2P With Hook Example'; // Change this to your form name
    if ($form_data->title = $form_title) {

    (and so on…)

    In my form I’ve been adding this:

    [checkbox* checkbox-947 use_label_element exclusive "Category1" "Category2"]
    [dynamichidden post_status "pending"]

    I thought I could add a line to say if category1 post_status “pending” to category1. Am I making sense?

    Thanks again.

    Hi,

    Wonderful plugin!

    First shouldn’t it be [dynamichidden post_status “pending”]?

    Also since the update it still works but I get an error message “This contact form has a configuration error”.

    Is there a way to send to a specific category if for example checkbox 1 selected and another category if checkbox 2 is selected?

    Thanks in advance for any help!

Viewing 4 replies - 16 through 19 (of 19 total)