[ Politics ] Open question: What is the point of having an election if everyone knows it will be Trump against Biden and Trump wins easily?

Everyone knows that the 2020 elections in November will be Trump vs. Biden and that Trump will win a second term.

What is the point of having a choice when everyone knows this almost a year after the election?

Will Trump supporters accept the election results if Trump loses after Russia determines that he is damaged and Texas is lost?

If Trump loses, Republicans will blame him for electoral fraud. This is partly because they like to accuse the Democrats of all the bad things they do themselves. And partly because Trump blames his loss of the popular vote to millions of illegal voters, many times.

Texas will eventually turn blue because the Hispanic population will soon become a majority. If that happens, we may never have another Republican president because there are 38 electoral votes that cannot be recovered. The fact is that the Republics have won the popular vote only once in the last SEVEN elections (and still claim to have the support of a large majority of Americans!)

Trump is causing serious damage to the Great Old Party. It is beginning to become evident. Like GW Bush, when he is out of the office it will be & # 39; Donald Who? & # 39;

[ Politics ] Open question: If Trump loses the election, will he launch a shootout as many Republicans threaten?

[Politics] Open question: If Trump loses the election, will he go to a shooting like so many Republicans are threatening?

Can I vote in the primary if I turn 18 the day after the election?

Technically yes, but … oh, no. You are too stupid to vote this time. So, maybe in 2 years?

The law says you have to be 18 to vote. On the day of the vote, you will not be 18, so you cannot vote. You will have to wait for the November general elections.

If just before the election, 3 or 4 women leave and say Trump harassed them sexually in 1988 … how will they react?

Yes, I bet you're right.

Desperate Democratic leaders and fake media (swamp) have failed in every attempt to sabotage Trump and will fail when they review the old failed attempts.

The leaked video of Billy Bush failed,

Trump has failed 2 ice cream balls,

Old decades without evidence of failed sexual harassment allegations,

Obama spying on Trump's campaign failed,

Stormy failed,

Trump benefits from his failed presidency,

The obstruction load of Comey failed,

The Russian collusion failed,

Michael Flynn's resignation failed,

Mueller failed

Fake News Media always fails like the NY Times,

Tom Steyer's attacks failed,

CNN Jim Acosta failed,

Covington Kids failed,

Trump will not release his failed taxes,

Hollywood celebrity attacks on Trump failed,

John Brennan failed and will go to prison.

"Shakespeare in the park" failed,

The exploitation of Trump's tweets failed,

Jussie Smollett failed and gets a false exemption.

The war hero John McCain failed,

The slave founders failed,

Attacking Trump supporters failed,

The illegal immigration caravans failed,

George Conway failed,

The cover-up of Pelosi failed,

False recession failed,

The Alabama hurricane failed.

Ukraine The accusation will fail.

[ Politics ] Open question: Will you vote for Trump in the next election?

[Politics] Open question: Will you vote for Trump in the next election?

When Trump is accused, should all Trump voters be banned from voting in the next election?

They probably won't vote for anyone if they are charged.

What they will say about the Democratic candidate: "Socialist! They are going to turn the United States into Venezuela!"

What they will say about the new Republican candidate: "RINO! They helped accuse Trump and they are a traitor to the party! They are like the Democrats!"

.

custom form: hide some election value based on the current election value in the same field in Sharepoint 2013

I use Sharepoint 2013. In the form, I have a field called & # 39; Status & # 39; With multiple options. eg "Step 1", "Step 2", "Step 3", "Step 4", "Step 5", "Step 6", "Closed", etc. I have more than 10 options.

When I open an editing form, based on the current state, I just want to show some option in this field, not all the options.

For example:
If the current status is & # 39; Step 1 & # 39 ;, just show & # 39; Step 1 & # 39 ;, & # 39; Step 2 & # 39 ;, & # 39; Step 4 & # 39 ;, & # 39 ; Closed & # 39; in the countryside.

If the current status is & # 39; Step 4 & # 39 ;, just show & # 39; Step 4 & # 39 ;, & # 39; Step 6 & # 39; and & # 39; Step 7 & # 39 ;.

I prefer javascript / jquery / css …

Thanks in advance!
JJ

[ Politics ] Open question: Do you think Kentucky will be dumb enough to vote for Moscow Mitch McConnell again in the next election …?

Wait, I think I answered my own question … Kentucky. He is only in office thanks to racial segregation and gerrymandering, of course. .

8 – An illegal election has been detected. after leaving the form page

I have a form with only one selection element and no submit button. After the change, I issue an ajax call to retrieve the details of the selected Project. Everything works as expected, however, after leaving the page, I see the error "An illegal choice has been detected. Contact the site administrator."

I only get the error if I change the selection entry. Ex. If I navigate to:

Home-> Projects-> Home

I don't see the error on the last homepage. If I navigate to:

Home-> Projects (change input selection) -> Home

I see the error on the last homepage.

Here is my module code:

class ExpeditionController extends ControllerBase {
  public $client;

  public function __construct() {
    $this->client = Drupal::service('http_client');
  }


  public function listProjects() {
    $select_form = Drupal::formBuilder()->getForm('DrupalmyModuleFormExpeditionSelectForm');
    // Remove the submit button.
    unset($select_form('actions')('submit'));

    $result = $this->client->get('myRESTService', ('Accept' => 'application/json'));
    $expeditions = json_decode($result->getBody());

    foreach ($expeditions as $value) {
      $select_form('expeditions')('#options')($value->{'expedition'}->{'expeditionId'}) = $this->t($value->{'expedition'}->{'expeditionTitle'});
    }

    return array(
      '#theme' => 'myModule_expeditions',
      '#form' => $select_form,
    );
  }

  public function expeditionDetail($form, $form_state) {
    $expedition = ();
    $response = new AjaxResponse();
    if ($form('expeditions')('#value') != "") {

      $client = Drupal::service('http_client');
      $result = $client->get(
        'myService' . $form('expeditions')('#value'),
        ('Accept' => 'application/json')
      );
      $expedition = json_decode($result->getBody());
    }

    $response->addCommand(new HtmlCommand(
      '#expeditionDetail',
      array(
        '#theme' => 'myModule_expeditions_detail',
        '#expedition' => $expedition,
      )
    ));

    return $response;
  }

  public function deploymentDetail($project_id, $deployment_id) {
    $result = $this->client->get(
      'myService' . $project_id . '/' . $deployment_id,
      ('Accept' => 'application/json')
    );

    return array(
      '#theme' => 'myModule_deployment_detail',
      '#deployment' => json_decode($result->getBody()),
    );

  }
}

class ExpeditionSelectForm extends ConfigFormBase {
  /**
   * {@inheritdoc}
   */
  public function getFormId() {
    return 'myModule_expeditions';
  }

  /**
   * {@inheritdoc}
   */
  public function buildForm(array $form, FormStateInterface $form_state) {
    $form('expeditions') = array(
      '#type' => 'select',
      '#title' => $this->t('Choose Project'),
      '#empty_option' => $this->t('Select a project'),
      '#default_value' => '',
      '#ajax' => (
        'callback' => 'DrupalmyModuleControllerExpeditionController::expeditionDetail',
      ),
    );

    return parent::buildForm($form, $form_state);
  }

  /**
   * Gets the configuration names that will be editable.
   *
   * @return array
   *   An array of configuration object names that are editable if called in
   *   conjunction with the trait's config() method.
   */
  protected function getEditableConfigNames() {
    // TODO: Implement getEditableConfigNames() method.
    return ();
  }
}