What to put for primary occupation in the DS-160 form when uni date has been pushed back?

I was supposed to attend university starting fall 2020 but due to the pandemic my final semester exams were postponed and I had to defer my admission to spring 2021.

So, I graduated in September and I’m not working anywhere. I have my F1 visa interview in a week. Should I select ‘not employed’ and specify the reason that I recently graduated and am awaiting university to start? Or should I select the student option and fill in the details of the university I’m intending to attend in spring?

sharepoint online – Power Apps custom form question on formatting

I’ve designed a custom input form for a Sharepoint list in Power Apps, and I had two questions on formatting:

  1. My formatting in preview mode looks fine, however once published in the Sharepoint list itself the field heights, text positioning, etc. is changed. Any idea how I can ensure that the formatting of the form remains consistent from Power Apps to Sharepoint? For reference, the formatting is shown below.

  2. Upon opening the form in Sharepoint, certain fields (see Issue Type, Priority, Status in the images below) in the form are highlighted/selected without any action on my end – any thoughts on how to remove this?

Custom form in Power Apps previewer:

enter image description here

Custom form in Sharepoint:

enter image description here

Thanks in advance!

Create PHP contact form using php

Hi, I’m a new intern at a company and I’m trying to create a website with a contact form that emails a specific address when filled out. I d… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1843761&goto=newpost

validation – When should the valid visual cue be shown to the user on a pre-filled form field?

It makes sense to show a valid visual cue (eg: green border, green check, etc) when a user is filling a form field and the data is considered valid.

enter image description here

What if the user opened the form with pre-filled data? For example, when editing something.

When would be the appropriate moment to show the valid visual cue on form fields that were not edited by the user?

When the form is loaded?

On focus and blur events?

When the form is submitted?


Modifying default input form for Sharepoint List

I have a Sharepoint list that I am modifying, and my customers like the default input form (image below) but are requesting I add a few fields to this/make minor formatting changes to it. They do not want the layout of a customized form in Power Apps. My question(s) are:

  1. Is it possible to modify the below input form with a few additional fields (that are already found in my list but not currently displayed in the form)? If not…

  2. Is there a way I can use Power Apps to modify the default form layout below, adding the fields that I’m looking to add?

I’m new to maintaining Sharepoint lists and using Power Apps, so a simple solution is preferred here, if at all possible.

Thanks in advance.

enter image description here

google sheets – problems with form and appendRow

I created a form in Google Script and one of the fields is a Checkbox, the name of the field would be field1 ()

and to save the answers in a sheet, I am using AppendRow, but when I insert the name of the field that has (), I get an error, and if I remove them the selections are not saved correctly.

This is my code.gs

function doGet(request) {
  return HtmlService.createTemplateFromFile('Index')

function include(filename) {
  return HtmlService.createHtmlOutputFromFile(filename)

/* @Process Form */
function processForm(formObject) {
  var url = "https://docs.google.com/spreadsheets/d/12CUQaajvhcQjcskDgA7YHc6EWdK67wq9LqBiauBoi4/edit#gid=0";
  var ss = SpreadsheetApp.openByUrl(url);
  var ws = ss.getSheetByName("Data");


Should I show all options from a “single-choice question” in a read only form?

My team and I are working on many forms for a B2B app. We have a lot of questions and we wonder how to display our read only forms.

Today, our problem is focused on “single-choice question”. Once the user selected an option, according to you, what should we display in read only version ?

  • Only the user’s choice
  • The same list of options with the user’s choice highlighted

It also works, I guess, for multiple choices question.

I can provide screenshots or more details if needed.

Thank you !

8 – Ajax enabled form stopped working – Ajax callback never called

I have the weird problem that an Ajax enabled form that just worked stopped working – and I have not a clue what is causing this and when it stopped to work. The form itself has no changes for months now and I did not find any code updates which may interfere with this form.

The form is defined in its own form class which extends FormBase. The Ajax functionality is added with the following code in buildForm() method:

$form('form_container')('actions')('submit') = (
  '#type' => 'submit',
  '#value' => 'Submit',
  '#ajax' => (
    'callback' => '::ajaxResponse'
  '#attributes' => (
    'class' => ('js-show-throbber')
  '#weight' => -45,

In the form class the method is defined:

public function ajaxResponse(array $form, FormStateInterface $form_state)

When I set a breakpoint within this method for XDebug the script never stops, the process within this methods are not running.

There is no info in browser’s console, it is not working in any browser and in watchdog of Drupal are no entries. For me it seems that somehow the bridge between browser / JavaScript world and the form PHP class is broken. I use the exact same PHP code for many other forms without any problem.

My question: can anybody give me a hint how exactly the bridge between browser and form class is created when the form gets rendered? How can I find out if there is a problem in the PHP form class or somewhere in JavaScript?

how to form a JSON string from the values retrieved from table columns in oracle

I’m using the following query, and getting the following error –

json_object ("id" value student_id)

ORA-00907: missing right parenthesis
00907. 00000 – "missing right parenthesis"

sharepoint online – SPO: Using JSON to Show/Hide Modern Form Field Based on Value Selected in Lookup Column

I am trying to modify the new-entry form of a modern list in SharePoint Online by hiding or showing a field based on the value selected in a preceding field on the same form. Microsoft offers straightforward guidance on how to do this using a JSON snippet.

While they don’t list a lookup column as an unsupported field type to use for this purpose, they don’t provide guidance on how to use one in this way, either. And from my testing, you can’t simply grab the value of a lookup field in the described way:

=if(($LookupField)=='Hourly', 'true', 'false')

If I use a choice field instead of a lookup field, this works fine. But doing some digging, in other contexts it looks like the value may be captured in a .lookupValue property, so I tried it this way:

=if(($LookupField.lookupValue)=='Hourly', 'true', 'false')

Still no luck. Does anyone know if it is possible to use the value from a lookup field in this way? And if so, what do I need to do to make the magic happen?