Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • in reply to: jQuery Validate still validating fields that hidden #20340
    Ryan LauritsenRyan Lauritsen
    Participant

    Long Nguyen, when will this fix be ready?

    This has totally screwed up our data coming through multiple front-end forms and we need an immediate fix. Do I need to revert to an old version or is there a change I can make to the code to revert this temporarily until a fix is released.

    in reply to: jQuery Validate still validating fields that hidden #20334
    Ryan LauritsenRyan Lauritsen
    Participant

    Anh, does this apply to fields hidden via the CSS display: none;?

    We have some fields that are hidden using that method but still need validation (they are populated programmatically with some custom javascript). It was working fine but this or some other recent change has broken it. If I remove display: none; the validation works.

    in reply to: Taxonomy field breaks frontend form #19202
    Ryan LauritsenRyan Lauritsen
    Participant

    It sounds like your issue is different.

    The issue described in this thread was breaking the form/page completely, preventing anything after the field from loading. That was fixed quite a while ago in Meta Box version 4.18.4.

    I would suggest starting a new thread so support can help with your issue.

    in reply to: Post title and post content fields #18590
    Ryan LauritsenRyan Lauritsen
    Participant

    Yes, we are using the Frontend Submission extension. I'd like the fields to show up both on the frontend and in admin (replacing the default WP UI fields). The reason is that we are trying to customize how data is input in the admin with metabox fields instead of default WP fields.

    Ryan LauritsenRyan Lauritsen
    Participant

    Thank you, Anh Tran!

    in reply to: Post title and post content fields #18556
    Ryan LauritsenRyan Lauritsen
    Participant

    Anything?

    in reply to: Post author field supported? #18290
    Ryan LauritsenRyan Lauritsen
    Participant

    Maybe a better question is... Can we access the search term typed into a select_advanced field within the query_args parameter so that we can create a more sophisticated search query?

    in reply to: Post author field supported? #18289
    Ryan LauritsenRyan Lauritsen
    Participant

    Thanks, Anh Tran. I've got it working now. Is it possible to customize the data being searched? For example, have it only search the email and not URL, username, or display_name?

    in reply to: MB User Profile not working because of latest MB User Meta #17930
    Ryan LauritsenRyan Lauritsen
    Participant

    I can confirm that this is also true on our site. Thanks for tracking it down and posting this @luisdelcid

    in reply to: Readonly Date Input Still Shows Datepicker #17305
    Ryan LauritsenRyan Lauritsen
    Participant

    @Anh
    What was your final decision on this?
    Going forward if 'readonly'=>true will the datepicker show or not?

    From your last post, it sounded like the datepicker will NOT show but I just want to confirm that since I'll have to make some changes on my end if that's true. Thanks!

    in reply to: Thumbnail field in frontend form allows any file type #16773
    Ryan LauritsenRyan Lauritsen
    Participant

    I tried the following and it didn't work.

    add_filter( 'rwmb_frontend_post_thumbnail', function( $field ) {
        $field['attributes'] = [
            'accept' => 'image/*',
            'oninvalid' => "setCustomValidity('Please select an image file.');",
        ];
    } );
    in reply to: Readonly Date Input Still Shows Datepicker #16772
    Ryan LauritsenRyan Lauritsen
    Participant

    Why was this "fix" even needed? If you don't want the datepicker, then don't use a date field. Use a text field instead. If it has to do with forcing a date format, then either use validation on a text field to force the format or maybe we need an option to turn the datepicker on/off for date fields.

    in reply to: Readonly Date Input Still Shows Datepicker #16771
    Ryan LauritsenRyan Lauritsen
    Participant

    Unfortunately, we were using the fact that it ignored readonly to get around the lack of format control for the date entered into the input. We had date fields set to readonly to force users to use the datepicker so that we forced the format of the date to be our preferred format. Otherwise, we had users entering years as 2 digits (e.g. 01/01/20 instead of 01/01/2020) which doesn't work for us.

    This fix has prevented the workaround we were utilizing so how can we now force the year to be 4 digits? We already have the dateFormat attribute set to mm/dd/yy but that doesn't prevent a user from typing a date with only 2 digits. We also have the save_format field setting set to Y-m-d and that doesn't help either. I've searched the jQueryUI documentation and not found a solution.

    in reply to: Thumbnail field in frontend form allows any file type #16749
    Ryan LauritsenRyan Lauritsen
    Participant

    Thank you, Anh. This works well. Can I customize the error message shown when attempting to upload a non-image file?

    Currently, it says:
    Please enter a value with a valid mimetype.

    in reply to: Custom CSS class on meta box #16049
    Ryan LauritsenRyan Lauritsen
    Participant

    Anh, can you confirm if this is a bug?

Viewing 15 posts - 1 through 15 (of 33 total)