Support Forum » User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: WooCommerce Required Default Fields #44766
    ZakirZakir
    Participant

    Thanks! I was able to follow the instructions I found in the following link to make a field mandatory.
    https://www.damiencarbery.com/2018/01/make-weight-a-required-field-in-woocommerce/

    I will continue to apply this knowledge to make other fields mandatory.

    in reply to: ℹ️Auto Populate Field Based On Calculation #38857
    ZakirZakir
    Participant

    Thank you for the response. So if I understand correctly, I can use a Code Snippet to write a function that checks the current date and also pulls the Date of Birth. Pseudo code below.

    //Check if the month and date of the current date is equal to the month and date of the date of birth as a condition to update the age field
    If ( (Month(currentDate)).(Day(currentDate)) = (Month(dateOfBirth)).(Day(dateOfBirth))) {
    $age = currentDate - dateOfBirth
    }

    do_action( 'rwmb_after_save_field', $null, $field, $age, $old, $object_id );

    Is this correct?

    in reply to: WYSIWYG Bullet Lists Not Showing on Elementor #28809
    ZakirZakir
    Participant

    Hi, I realized this was an Elementor issue because the in-built text editor wasn't showing any bullet points either.

    I found this code online that I added to the custom CSS to get it working for the entire site:

    .elementor-widget-container ul {
    list-style: disc;
    margin-left: 40px;
    }

    Just thought to share in case others have this issue!

    Kind regards,
    Zakir

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