• Resolved Joseph Yhu

    (@josephyhu)


    Is it possible to indicate which fields are required (e.g., with an asterisk)?

    I realized that the plugin does indicate which fields are required after a guest tries to submit a post without providing required information, but I’m talking about indicating which fields are required before the guest clicks the submit button.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. There isn’t a built-in way to do this, but it would be possible using either a custom form or jQuery targeting the required attribute. For complete information on setting up a custom form, check out the USP documentation. For complete information about using jQuery to target attributes, check the jQuery documentation.

    Thread Starter Joseph Yhu

    (@josephyhu)

    I’ve copied the two files into the usp directory in my theme and changed the setting to Custom Form + Custom CSS. What do I do now?

    Edit: Nevermind, I got it.

    Thanks for the help.

    Plugin Author Jeff Starr

    (@specialk)

    Anytime, glad you got it.

    Thread Starter Joseph Yhu

    (@josephyhu)

    I have another question. How do I remove the “EmailURL” text in the newest post?

    https://josephyhu.org/blog

    In the blog page, not in the post page itself.

    I’ve changed the texts, but I still want them to appear only in the post, not in the blog page.

    • This reply was modified 7 years, 2 months ago by Joseph Yhu.
    • This reply was modified 7 years, 2 months ago by Joseph Yhu.
    Plugin Author Jeff Starr

    (@specialk)

    I visited that link, but didn’t see anything that said “EmailURL”..

    Thread Starter Joseph Yhu

    (@josephyhu)

    I’ve changed it to, “Email the author.Visit the author’s URL.”

    I mean I changed the Email Markup field in the plugin settings to “<p><a href="mailto:%%email%%">Email the author.</a></p>” and the URL Markup field to “<p><a href="%%url%%">Visit the author's URL.</a></p>

    • This reply was modified 7 years, 2 months ago by Joseph Yhu.
    • This reply was modified 7 years, 2 months ago by Joseph Yhu.
    • This reply was modified 7 years, 2 months ago by Joseph Yhu.
    • This reply was modified 7 years, 2 months ago by Joseph Yhu.
    • This reply was modified 7 years, 2 months ago by Joseph Yhu.
    Plugin Author Jeff Starr

    (@specialk)

    So then is there a question.. or ?

    Thread Starter Joseph Yhu

    (@josephyhu)

    Is it possible for them to only appear in the individual post page itself and not in the entire blog page?

    Also, can the success message be in a popup instead of in the page or can there be a delay in the redirection so that they can be redirected to the blog page (I’m pretty sure I can’t redirect them to their post page.), but still get the message that the post was successfully published?

    Plugin Author Jeff Starr

    (@specialk)

    “Is it possible for them to only appear in the individual post page itself and not in the entire blog page?”

    I want to help, but don’t understand your meaning.. if you can clarify or link to a screenshot or something that explains further, I will do my best to help.

    “Also, can the success message be in a popup instead of in the page or can there be a delay in the redirection so that they can be redirected to the blog page (I’m pretty sure I can’t redirect them to their post page.), but still get the message that the post was successfully published?”

    It’s most likely possible using your own code if you are using the custom form, but not something that is included with the plugin out of the box.

    Thread Starter Joseph Yhu

    (@josephyhu)

    https://i64.tinypic.com/i5ogfs.png

    https://i63.tinypic.com/fbxa4l.png

    • This reply was modified 7 years, 2 months ago by Joseph Yhu.
    Plugin Author Jeff Starr

    (@specialk)

    Thanks, it looks like you would like to customize the homepage/archive views in your theme. Such that the home/archive pages do not display the info, but single post pages do display the info, correct? If so, it’s not something the plugin can do, but it is possible by modifying your theme template. Ask your theme developer will be the best person to make the required modifications.

    Let me know if I can provide any further infos, glad to help.

    • This reply was modified 7 years, 2 months ago by Jeff Starr. Reason: add info
    Thread Starter Joseph Yhu

    (@josephyhu)

    Yes, that is correct. Thanks. I’ll ask my theme developer.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Required Fields’ is closed to new replies.