Skip to main content
2 votes
Accepted

Setting up a basic contact form with Sitecore JSS (not using Sitecore Forms)

It is feasible and you just need to expose the API. So, on your react component, you will have a button whereby you will bind it to a function. In that particular function, you can use Axio to call ...
Hishaam Namooya's user avatar
2 votes
Accepted

How to use Authenticated request with the Sitecore RESTful API

You need to pass the token (received in the first request) in the header like: xhr2.setRequestHeader('token', val);
josedbaez's user avatar
  • 1,792
1 vote

Handling 2 separate forms in one View and Controller

Indeed, as @jammykam said, you should split the conditions in 2 different renderings and handling the visibility through rules engine. If you think that conditions are quite complex to be adapted for ...
gomnet's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible