How to remove "mandatory" for a particular field in WordPress comment form - html

I've launched my first website in WordPress using bootstrap theme. My site is www.youthenext.com
Even though I've not set mandatory for wesite field, form is not submiting without filling the form field. You can see the form here
I don't know which file I have to edit.

Related

Form action wordpress

My wordpress site has one contact form and even I have another website (Used html code).
I called wordpress form in html using id,Now I added captche to both the site because of that not abled to submit the form showing an error. How can I call that form using Iframe and while submitting the button in my site(HTML) bth the form(wordpress site and my site) the form should take the action . Need to show thank you message in the site.

Show a particular DIV from a previously viewed page

I'm not sure if this is possible (I'm not a coder!) but here goes anyway...
The DIV class for the product name on the following page is "productTitle"
https://www.ultimadisplays.co.uk/Alcohol_Hand_Sanitiser_Gel/?categoryId=2147499177&tab=0&subTab=1
I won't bore you with why but the website is very old and limited however we can put a button on each product page which can link to a form. This form is on a completely separate hosted platform.
Is it therefore possible to take the product name over to the new page with the form on it using the DIV class so that when the form is submitted we will know what product they are interested in rather than they have to write it into the form manually?
Thanks in advance!
You can send whatever data you want between different sites or platforms by sending it in GET or POST request either by refreshing page directly or by using AJAX.
I don't think it's a good option just for a form. But you have this possibility nevertheless.

Elementor dynamic fields showing all acf fields and acf option page fields

Using Elementor Pro and ACF Pro.
So i have setup all acf post/page fields in the acf/init hook. I also setup an options page within the same hook.
In the Elementor editor, when selecting a dynamic field. all ACF fields for posts/pages are listed as an option field. e.g option:banner image. And Nothing is displayed when selecting one.
If i remove the options page. All goes back to normal and can select the actual ACF fields in the dynamic dropdown.
Any ideas why this could be happening?
Ive tried adding the options page in functions.php and the options fields in acf/init hook. same result
You should add an image/test to the fields in the page/post edit. Once you add a value to the fields you created in ACF for post/page, they will start to show as in dynamic.

Angular hidden div dynamically unhiding best practices

I'm building an Angular application with a login page. The login page contains the following elements:
Login form
Password forgot form
Password forgot acknowledge message
Password reset form (you end up here after clicking the link sent by e-mail)
Loading spinner
At first, the login form should be presented. When you click the forgot my password link, the login form should disappear and the password forgot form should appear in which a user can enter his email address and press a button to request a new password. Next on, the user is presented the password forgot acknowledge message with text stating what is going to happen next.
When the user clicks the link sent by e-mail he is redirected to the login page again and presented with the password reset form where he can enter his desired password.
What I have currently done is written all divs successively in the login.component.html page. By default all are hidden except for the login form using (example) *ngIf="forgotpassword" [#fadeInOutRight]. Then, based on buttons or links clicked on the page dynamically divs fly in and out of the screen using Angular Animations.
I was wondering if this is good practice or if there's any other technique that should be used to dynamically change the content of the page.
Any tips are much appreciated.
Thanks!
You should probably use routing for the purpose you are describing. Have a look at https://angular.io/guide/router
That's at least how I would do it. It has multiple advantages:
Clearly seperates the code into cohesive components that serve one purpose
The users and you can now directly access the routes
You don't have to write the hiding/switching logic, because Angluar already provides that
The clear seperation makes it easier to test
first ngIf does the trick, you can also consider using the [hidden] property. The difference is with ngIf, you create and delete elements from the DOM, while with the [hidden] property you just hide them. But as long as your users will not spam switching from one form to another, I think it's fine using ngIf.
I would recommand splitting your login page in components. For example, one for the login form itself, another one for the password forgot form, etc...
This way, when the user click the forgot password button, you just direct her/him to the corresponding component.
Hope that helps

Need to add a html file (page) in wordpress website

I've a wordpress website, I'm also have a html page. Now I need to add the separate html page to wordpress.
This is an well designed order form. I want to add the order form in to my wordpress site. I need a "OrderNOw" menu and when visitor click on this menu then order form page will show and customer will fill the form and able to submit an order to me.
Please give me a better solution.
I usually create a template page in the current theme from the given HTML (remember to rename the extension to .php).
Then create a new page from the Wordpress administration and set the Template field accordingly (just set the title and leave the content blank).
Finally you just need to add this page to your menu.